mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Use function overloading instead of a single function
This commit is contained in:
Vendored
+2
-1
@@ -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