Skip to content

Commit

Permalink
Merge pull request #295 from blittle/master
Browse files Browse the repository at this point in the history
Update restify definition
  • Loading branch information
Diullei committed Feb 17, 2013
2 parents 0b09703 + 5a76589 commit 7147d06
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions restify/restify-test.ts
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ function send(req, res, next) {


req.contentLength === 50; req.contentLength === 50;
req.contentType === 'test'; req.contentType === 'test';
req.href === 'test'; req.href() === 'test';
req.id === 'test'; req.id === 'test';
req.path === 'test'; req.path() === 'test';
req.query === 'test'; req.query === 'test';
req.secure === true; req.secure === true;
req.time === 50; req.time === 50;
Expand Down
4 changes: 2 additions & 2 deletions restify/restify.d.ts
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ interface Request {
getLogger: (component: string) => any; getLogger: (component: string) => any;
contentLength: number; contentLength: number;
contentType: string; contentType: string;
href: string; href: () => string;
log: Object; log: Object;
id: string; id: string;
path: string; path: () => string;
query: string; query: string;
secure: bool; secure: bool;
time: number; time: number;
Expand Down

0 comments on commit 7147d06

Please sign in to comment.