From f3ae2b746257c61aa7ddaf06304880b6cc33ea83 Mon Sep 17 00:00:00 2001 From: Philipp Giese Date: Wed, 13 Nov 2024 15:51:32 +0100 Subject: [PATCH] fix types --- extension/src/panel/integrations/safe/kits.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extension/src/panel/integrations/safe/kits.ts b/extension/src/panel/integrations/safe/kits.ts index 8dcc6f14..d7952b6e 100644 --- a/extension/src/panel/integrations/safe/kits.ts +++ b/extension/src/panel/integrations/safe/kits.ts @@ -36,7 +36,7 @@ export const initSafeApiKit = (chainId: ChainId): SafeApiKit => { export const initSafeProtocolKit = async ( chainId: ChainId, safeAddress: string -) => { +): Promise => { // @ts-expect-error protocol-kit is only available as a CJS module. That doesn't play super nice with us being ESM. if (Safe.default) { // @ts-expect-error protocol-kit is only available as a CJS module. That doesn't play super nice with us being ESM.