Docs

WalletCreationOptions

Generic type for getting the type of object that the createWallet function takes as the second argument. ( the first argument being the wallet id )

type WalletCreationOptions<T extends WalletId> = T extends "smart"
: T extends "inApp" | "embedded"
: undefined;

Example

type X = WalletCreationOptions<"io.metamask">;