mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 21:10:23 +00:00
[@types/node] Http2ServerResponse extends Stream (#37812)
* [@types/node][v10] Http2ServerResponse extends Stream This was fixed in newer versions in #33527 but got missed in v10 * [@types/node][v8+v9] Http2ServerResponse extends Stream * Added trivikr@ in Definitions by for @types/node
This commit is contained in:
committed by
Mine Starks
parent
ffc6eff83b
commit
b54b6980a0
Vendored
+1
@@ -37,6 +37,7 @@
|
||||
// Jordi Oliveras Rovira <https://github.com/j-oliveras>
|
||||
// Thanik Bhongbhibhat <https://github.com/bhongy>
|
||||
// Marcin Kopacz <https://github.com/chyzwar>
|
||||
// Trivikram Kamat <https://github.com/trivikr>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
// NOTE: These definitions support NodeJS and TypeScript 3.2.
|
||||
|
||||
Vendored
+1
-1
@@ -556,7 +556,7 @@ declare module "http2" {
|
||||
prependOnceListener(event: "aborted", listener: (hadError: boolean, code: number) => void): this;
|
||||
}
|
||||
|
||||
export class Http2ServerResponse extends events.EventEmitter {
|
||||
export class Http2ServerResponse extends stream.Stream {
|
||||
private constructor();
|
||||
addTrailers(trailers: OutgoingHttpHeaders): void;
|
||||
connection: net.Socket | tls.TLSSocket;
|
||||
|
||||
Vendored
+1
-1
@@ -6792,7 +6792,7 @@ declare module "http2" {
|
||||
prependOnceListener(event: "aborted", listener: (hadError: boolean, code: number) => void): this;
|
||||
}
|
||||
|
||||
export class Http2ServerResponse extends events.EventEmitter {
|
||||
export class Http2ServerResponse extends stream.Stream {
|
||||
private constructor();
|
||||
addTrailers(trailers: OutgoingHttpHeaders): void;
|
||||
connection: net.Socket | tls.TLSSocket;
|
||||
|
||||
Vendored
+1
-1
@@ -7213,7 +7213,7 @@ declare module "http2" {
|
||||
prependOnceListener(event: "aborted", listener: (hadError: boolean, code: number) => void): this;
|
||||
}
|
||||
|
||||
export class Http2ServerResponse extends events.EventEmitter {
|
||||
export class Http2ServerResponse extends stream.Stream {
|
||||
private constructor();
|
||||
addTrailers(trailers: OutgoingHttpHeaders): void;
|
||||
connection: net.Socket | tls.TLSSocket;
|
||||
|
||||
Reference in New Issue
Block a user