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-02 23:50:38 +08:00 committed by Masahiro Wakame
parent dbfe1f60e4
commit fa5f6bf0cd

1
node/node.d.ts vendored
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;