mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 12:56:46 +08:00
Merge branch 'master' into types-2.0
This commit is contained in:
4
node/index.d.ts
vendored
4
node/index.d.ts
vendored
@@ -923,7 +923,7 @@ declare module "https" {
|
||||
requestCert?: boolean;
|
||||
rejectUnauthorized?: boolean;
|
||||
NPNProtocols?: any;
|
||||
SNICallback?: (servername: string) => any;
|
||||
SNICallback?: (servername: string, cb:(err:Error,ctx:tls.SecureContext)=>any) => any;
|
||||
}
|
||||
|
||||
export interface RequestOptions extends http.RequestOptions {
|
||||
@@ -2015,7 +2015,7 @@ declare module "tls" {
|
||||
requestCert?: boolean;
|
||||
rejectUnauthorized?: boolean;
|
||||
NPNProtocols?: any; //array or Buffer;
|
||||
SNICallback?: (servername: string) => any;
|
||||
SNICallback?: (servername: string, cb:(err:Error,ctx:SecureContext)=>any) => any;
|
||||
}
|
||||
|
||||
export interface ConnectionOptions {
|
||||
|
||||
Reference in New Issue
Block a user