mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 11:57:33 +08:00
Express' send method can be called with no parameters (#9502)
* Modified call signature of Sinon's calledWithNew method to no longer take a parameter * Express' send method can be called with no parameters
This commit is contained in:
committed by
Masahiro Wakame
parent
a33c790497
commit
60e962e804
@@ -408,7 +408,7 @@ declare module "express-serve-static-core" {
|
||||
|
||||
interface Send {
|
||||
(status: number, body?: any): Response;
|
||||
(body: any): Response;
|
||||
(body?: any): Response;
|
||||
}
|
||||
|
||||
interface Response extends http.ServerResponse, Express.Response {
|
||||
|
||||
Reference in New Issue
Block a user