diff --git a/ts_src/psbt.ts b/ts_src/psbt.ts index 824e70a87..aa546bc71 100644 --- a/ts_src/psbt.ts +++ b/ts_src/psbt.ts @@ -995,7 +995,9 @@ export class Psbt { sighashTypes, ); - const signaturePromises: Promise[] = []; + const signaturePromises: Promise< + { tapKeySig: Buffer } | { tapScriptSig: TapScriptSig[] } + >[] = []; const tapKeyHash = hashesForSig.filter(h => !h.leafHash)[0]; if (tapKeyHash) { const tapKeySigPromise = Promise.resolve(