Merge pull request #3220 from PekkaPLeppanen/patch-1

Added missing property to Response interface
This commit is contained in:
Masahiro Wakame
2014-11-26 19:49:03 +09:00
+3
View File
@@ -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`.
*