Skip to content

Commit 061c13b

Browse files
committed
Add type for rpcUrl
1 parent e60a102 commit 061c13b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/modules/select/wallets/imtoken.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ import { WalletModule, Helpers, CommonWalletOptions } from '../../../interfaces'
44
import imTokenIcon from '../wallet-icons/icon-imtoken'
55
import createProvider from './providerEngine'
66

7-
function imtoken(options: CommonWalletOptions): WalletModule {
7+
function imtoken(
8+
options: CommonWalletOptions & { rpcUrl: string }
9+
): WalletModule {
810
const { preferred, label, iconSrc, svg, rpcUrl } = options
911

1012
return {

0 commit comments

Comments
 (0)