mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
feat(tunnel): Update types (#35984)
`host & port` are required. `headers` is optional.
This commit is contained in:
parent
37fa8e39d4
commit
0c112a5de1
6
types/tunnel/index.d.ts
vendored
6
types/tunnel/index.d.ts
vendored
@ -31,11 +31,11 @@ export interface HttpsOverHttpsOptions extends HttpsOverHttpOptions {
|
||||
}
|
||||
|
||||
export interface ProxyOptions {
|
||||
host?: string;
|
||||
port?: number;
|
||||
host: string;
|
||||
port: number;
|
||||
localAddress?: string;
|
||||
proxyAuth?: string;
|
||||
headers: { [key: string]: any };
|
||||
headers?: { [key: string]: any };
|
||||
}
|
||||
|
||||
export interface HttpsProxyOptions extends ProxyOptions {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user