mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-22 11:22:53 +08:00
express Response.sendStatus returns Response (not a Send object)
This commit is contained in:
1 parent
494b30d232
commit
a7136b71f8
1 file changed
+1
-1
Vendored
+1
-1
@@ -438,7 +438,7 @@ declare module "express" {
|
||||
*
|
||||
* @param code
|
||||
*/
|
||||
sendStatus(code: number): Send;
|
||||
sendStatus(code: number): Response;
|
||||
|
||||
/**
|
||||
* Set Link header field with the given `links`.
|
||||
|
||||
Reference in new issue
Block a user