From 2bf69c30824fed8b64f7d8055f218839ecc3e575 Mon Sep 17 00:00:00 2001 From: Chris Hibbert Date: Thu, 18 Jan 2024 13:43:55 -0800 Subject: [PATCH] chore: ignore ts error for type of watchPromise --- packages/smart-wallet/src/smartWallet.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/smart-wallet/src/smartWallet.js b/packages/smart-wallet/src/smartWallet.js index 3e0b1e343c60..153da66e37b0 100644 --- a/packages/smart-wallet/src/smartWallet.js +++ b/packages/smart-wallet/src/smartWallet.js @@ -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); },