mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Udate the restify definition so that the request attributes path and href
are functions rather than string properties.
This commit is contained in:
Vendored
+2
-2
@@ -11,10 +11,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;
|
||||
|
||||
Reference in New Issue
Block a user