Generic type for getting the tuple type of arguments that the createWallet function takes.
createWallet
type CreateWalletArgs<T extends WalletId> = WalletCreationOptions<T> extends undefined ? [id: T] : undefined extends WalletCreationOptions<T> ? [id: T, options: WalletCreationOptions<T>] : [id: T, options: WalletCreationOptions<T>];
type X = CreateWalletArgs<"io.metamask">;