Returns (<I>(...args) => Promise<I>)
a method to connect to a wallet class
-
- <I>(...args): Promise<I>
-
Parameters
-
Rest
...args: undefined extends Parameters<I["connect"]>[0]
? [wallet: WalletConfig, connectParams?: (Parameters<I["connect"]>[0] extends infer T
? T extends Parameters<I["connect"]>[0]
? T extends null | undefined
? never
: T
: never
: never) | undefined]
: [wallet: WalletConfig, connectParams: Parameters<I["connect"]>[0] extends infer T_1
? T_1 extends Parameters<I["connect"]>[0]
? T_1 extends null | undefined
? never
: T_1
: never
: never]
Returns Promise<I>