mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Add restify pre module
This commit is contained in:
6
restify/restify.d.ts
vendored
6
restify/restify.d.ts
vendored
@@ -211,4 +211,10 @@ declare module "restify" {
|
||||
export function fullResponse(): RequestHandler;
|
||||
export var defaultResponseHeaders : any;
|
||||
export var CORS: CORS;
|
||||
|
||||
export module pre {
|
||||
export function pause(): RequestHandler;
|
||||
export function sanitizePath(options?: any): RequestHandler;
|
||||
export function userAgentConnection(options?: any): RequestHandler;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user