Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #295 from blittle/master

Update restify definition
  • Loading branch information...
commit 7147d06d3e7489192613dc3a200bb9094156eb31 2 parents 0b09703 + 5a76589
@Diullei Diullei authored
Showing with 4 additions and 4 deletions.
  1. +2 −2 restify/restify-test.ts
  2. +2 −2 restify/restify.d.ts
View
4 restify/restify-test.ts
@@ -49,9 +49,9 @@ function send(req, res, next) {
req.contentLength === 50;
req.contentType === 'test';
- req.href === 'test';
+ req.href() === 'test';
req.id === 'test';
- req.path === 'test';
+ req.path() === 'test';
req.query === 'test';
req.secure === true;
req.time === 50;
View
4 restify/restify.d.ts
@@ -16,10 +16,10 @@ interface Request {
getLogger: (component: string) => any;
contentLength: number;
contentType: string;
- href: string;
+ href: () => string;
log: Object;
id: string;
- path: string;
+ path: () => string;
query: string;
secure: bool;
time: number;

0 comments on commit 7147d06

Please sign in to comment.
Something went wrong with that request. Please try again.