Skip to content

Commit

Permalink
Stronger typing for screen_hint property (#912)
Browse files Browse the repository at this point in the history
  • Loading branch information
iAmWillShepherd committed Jun 14, 2022
1 parent bc0f8bd commit cf038ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/global.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export interface BaseLoginOptions {
*
* This only affects the New Universal Login Experience.
*/
screen_hint?: string;
screen_hint?: 'signup' | 'login' | string;

/**
* The user's email address or other identifier. When your app knows
Expand Down

0 comments on commit cf038ad

Please sign in to comment.