Skip to content

Commit

Permalink
chore: ignore ts error for type of watchPromise
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-Hibbert committed Jan 18, 2024
1 parent e4b6dbe commit 2bf69c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/smart-wallet/src/smartWallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -542,11 +542,13 @@ export const prepareSmartWallet = (baggage, shared) => {

const handler = makeAmountWatcher(purse, helper);
const startP = E(notifier).getUpdateSince(undefined);
// @ts-expect-error import watchPromise's type is unknown
watchPromise(startP, handler, notifier);
},

watchNextBalance(handler, notifier, updateCount) {
const nextP = E(notifier).getUpdateSince(updateCount);
// @ts-expect-error import watchPromise's type is unknown
watchPromise(nextP, handler, notifier);
},

Expand Down

0 comments on commit 2bf69c3

Please sign in to comment.