Skip to content

Commit c4fa6fc

Browse files
fix tsdoc (#3163)
1 parent b9b185b commit c4fa6fc

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packages/thirdweb/src/wallets/coinbase/coinbaseMobileSDK.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,14 @@ export async function initMobileProvider(args: {
1313
hostPackageName: args.hostPackageName || "org.toshi",
1414
});
1515
let CoinbaseWalletMobileSDK = (
16-
await import("@coinbase/wallet-mobile-sdk/build/WalletMobileSDKEVMProvider")
16+
await import(
17+
// @ts-ignore this is only visible from RN
18+
"@coinbase/wallet-mobile-sdk/build/WalletMobileSDKEVMProvider"
19+
)
1720
).WalletMobileSDKEVMProvider;
1821
if (
1922
typeof CoinbaseWalletMobileSDK !== "function" &&
20-
// @ts-expect-error This import error is not visible to TypeScript
23+
// @ts-ignore this is only visible from RN
2124
typeof CoinbaseWalletMobileSDK.default === "function"
2225
) {
2326
CoinbaseWalletMobileSDK = (

0 commit comments

Comments
 (0)