mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 23:07:06 +00:00
Fix createConnection params in node/http2.d.ts (#34197)
* Fix createConnection params in http2.d.ts * Fix createConnection params in v10/http2.d.ts
This commit is contained in:
Vendored
+1
-1
@@ -415,7 +415,7 @@ declare module "http2" {
|
||||
peerMaxConcurrentStreams?: number;
|
||||
selectPadding?: (frameLen: number, maxFrameLen: number) => number;
|
||||
settings?: Settings;
|
||||
createConnection?: (option: SessionOptions) => stream.Duplex;
|
||||
createConnection?: (authority: url.URL, option: SessionOptions) => stream.Duplex;
|
||||
}
|
||||
|
||||
export type ClientSessionOptions = SessionOptions;
|
||||
|
||||
Vendored
+1
-1
@@ -415,7 +415,7 @@ declare module "http2" {
|
||||
peerMaxConcurrentStreams?: number;
|
||||
selectPadding?: (frameLen: number, maxFrameLen: number) => number;
|
||||
settings?: Settings;
|
||||
createConnection?: (option: SessionOptions) => stream.Duplex;
|
||||
createConnection?: (authority: url.URL, option: SessionOptions) => stream.Duplex;
|
||||
}
|
||||
|
||||
export type ClientSessionOptions = SessionOptions;
|
||||
|
||||
Reference in New Issue
Block a user