feat(tunnel): Update types (#35984)

`host & port` are required. 
`headers` is optional.
This commit is contained in:
jeffjing 2019-06-13 07:15:36 +08:00 committed by Ron Buckton
parent 37fa8e39d4
commit 0c112a5de1

View File

@ -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 {