express Response.sendStatus returns Response (not a Send object)

This commit is contained in:
Jason Tremper
2015-01-04 09:32:29 -05:00
parent 494b30d232
commit a7136b71f8
+1 -1
View File
@@ -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`.