Merge pull request #13582 from KostyaTretyak/restify-plugins

Fix declarations for 'restify-plugins'.
This commit is contained in:
Horiuchi_H
2016-12-28 13:05:43 +09:00
committed by GitHub

View File

@@ -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