Update node.d.ts (#10418)

It misses "finished" property, please refer official site: https://nodejs.org/api/http.html#http_response_finished
This commit is contained in:
TonyYang
2016-08-03 00:50:38 +09:00
committed by Masahiro Wakame
parent dbfe1f60e4
commit fa5f6bf0cd
+1
View File
@@ -607,6 +607,7 @@ declare module "http" {
removeHeader(name: string): void;
write(chunk: any, encoding?: string): any;
addTrailers(headers: any): void;
finished: boolean;
// Extended base methods
end(): void;