Skip to content

Commit b5e890f

Browse files
committed
refactor: add more specific type
1 parent 71a3974 commit b5e890f

File tree

1 file changed

+1
-1
lines changed
  • packages/thirdweb/src/wallets/in-app/core/wallet

1 file changed

+1
-1
lines changed

packages/thirdweb/src/wallets/in-app/core/wallet/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export type WalletUser = UserStatus;
3939

4040
export type InAppWalletSocialAuth = SocialAuthOption;
4141
export type InAppWalletOAuth = OAuthOption;
42-
export type AuthOptionWithOptions = {type: AuthOption, defaultValue: string };
42+
export type AuthOptionWithOptions = {type: 'email' | 'phone', defaultValue: string };
4343
export type InAppWalletAuth = AuthOption | AuthOptionWithOptions;
4444
export type { AuthOption };
4545

0 commit comments

Comments
 (0)