mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-21 05:20:24 +08:00
fixes #21371
This commit is contained in:
2
types/express-serve-static-core/index.d.ts
vendored
2
types/express-serve-static-core/index.d.ts
vendored
@@ -820,7 +820,7 @@ export interface Application extends IRouter, Express.Application {
|
||||
* Express instance itself is a request handler, which could be invoked without
|
||||
* third argument.
|
||||
*/
|
||||
(req: Request, res: Response): any;
|
||||
(req: Request | http.IncomingMessage, res: Response | http.ServerResponse): any;
|
||||
|
||||
/**
|
||||
* Initialize the server.
|
||||
|
||||
Reference in New Issue
Block a user