mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 11:57:33 +08:00
Use function overloading instead of a single function
This commit is contained in:
3
node-forge/index.d.ts
vendored
3
node-forge/index.d.ts
vendored
@@ -269,6 +269,7 @@ declare module "node-forge" {
|
||||
getBagsByLocalKeyId: (localKeyId: string, bagType: string) => Bag[]
|
||||
}
|
||||
|
||||
function pkcs12FromAsn1(obj:any, strictOrPassword: boolean|string, password?: string) : Pkcs12Pfx;
|
||||
function pkcs12FromAsn1(obj:any, strict?: boolean, password?: string) : Pkcs12Pfx;
|
||||
function pkcs12FromAsn1(obj:any, password?: string) : Pkcs12Pfx;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user