Merge branch 'saelyah-patch-1'

This commit is contained in:
Andy Hanson
2017-03-24 08:45:59 -07:00

View File

@@ -860,7 +860,7 @@ interface RequestParamHandler {
(req: Request, res: Response, next: NextFunction, value: any, name: string): any;
}
type ApplicaitonRequestHandler<T> = IRouterHandler<T> & IRouterMatcher<T> & {
type ApplicationRequestHandler<T> = IRouterHandler<T> & IRouterMatcher<T> & {
(...handlers: RequestHandlerParams[]): T;
};
@@ -1105,7 +1105,7 @@ interface Application extends IRouter, Express.Application {
*/
_router: any;
use: ApplicaitonRequestHandler<this>;
use: ApplicationRequestHandler<this>;
}
interface Express extends Application {