mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-08 06:42:22 +08:00
Merge pull request #3408 from jt000/master
express Response.sendStatus returns Response (not a Send object)
This commit is contained in:
2
express/express.d.ts
vendored
2
express/express.d.ts
vendored
@@ -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