mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
Added missing property to Response interface
This commit is contained in:
1 parent
266324c29c
commit
a3b94d3dac
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