mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-02-24 17:52:45 +00:00
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:
parent
dbfe1f60e4
commit
fa5f6bf0cd
1
node/node.d.ts
vendored
1
node/node.d.ts
vendored
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user