We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 170c628 commit ec1291dCopy full SHA for ec1291d
base58check.d.ts
@@ -81,8 +81,8 @@ export interface Base58CheckSync extends Base58CheckAsync {
81
* @param hashAlgoSync - Optional sync hash function
82
* @returns Base58Check encoder/decoder instance
83
*/
84
-export function makeBase58check(hashAlgo: HashFunction, hashAlgoSync?: HashFunctionSync): Base58CheckSync;
85
-export function makeBase58check(hashAlgo: HashFunction): Base58CheckAsync;
+export function makeBase58check(hashAlgo: HashFunction | HashFunctionSync, hashAlgoSync: HashFunctionSync): Base58CheckSync;
+export function makeBase58check(hashAlgo: HashFunction | HashFunctionSync): Base58CheckAsync;
86
87
/**
88
* Encode bytes to base58check string asynchronously
0 commit comments