Update index.d.ts (#22338)

added secureProtocol to ServerOptions
This commit is contained in:
hoo29
2018-01-03 13:34:09 -08:00
committed by Mohamed Hegazy
parent 68f6a78112
commit 34f8553e46
+1
View File
@@ -1746,6 +1746,7 @@ declare module "https" {
rejectUnauthorized?: boolean;
NPNProtocols?: any;
SNICallback?: (servername: string, cb: (err: Error | null, ctx: tls.SecureContext) => void) => void;
secureProtocol?: string;
}
export interface RequestOptions extends http.RequestOptions {