mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-24 22:17:06 +08:00
Merge pull request #13582 from KostyaTretyak/restify-plugins
Fix declarations for 'restify-plugins'.
This commit is contained in:
2
restify-plugins/index.d.ts
vendored
2
restify-plugins/index.d.ts
vendored
@@ -22,7 +22,7 @@ export namespace pre {
|
||||
/**
|
||||
* This pre handler fixes issues with node hanging when an asyncHandler is used prior to bodyParser.
|
||||
*/
|
||||
function pause(): void;
|
||||
function pause(): RequestHandler;
|
||||
|
||||
/**
|
||||
* Cleans up duplicate or trailing / on the URL
|
||||
|
||||
Reference in New Issue
Block a user