mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-26 12:10:44 +08:00
Merge pull request #3220 from PekkaPLeppanen/patch-1
Added missing property to Response interface
This commit is contained in:
commit
27c18ff85e
1 file changed
+3
Vendored
+3
@@ -681,6 +681,9 @@ declare module "express" {
|
||||
header(field: any): Response;
|
||||
header(field: string, value?: string): Response;
|
||||
|
||||
// Property indicating if HTTP headers has been sent for the response.
|
||||
headersSent: boolean;
|
||||
|
||||
/**
|
||||
* Get value for header `field`.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user