mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-17 07:20:23 +00:00
Merge pull request #3220 from PekkaPLeppanen/patch-1
Added missing property to Response interface
This commit is contained in:
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