Added missing property to Response interface

This commit is contained in:
Pekka Leppänen
2014-11-25 10:41:09 +02:00
parent 266324c29c
commit a3b94d3dac
+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`.
*