-
Notifications
You must be signed in to change notification settings - Fork 92
Open
Description
Is your feature request related to a problem? Please describe.
Not a problem per se, but VSCode gives much nicer intellisense for string literal types over enums. It also looks cleaner when writing the code rather than having AuthenticationState.Authenticated, you have 'Authenticated' string literal.
Describe the solution you'd like
Change:
export enum AuthenticationState {
Unauthenticated = 'Unauthenticated',
InProgress = 'InProgress',
Authenticated = 'Authenticated',
}
to
export type AuthenticationState = 'Unauthenticated' | 'InProgress' | 'Authenticated';
Describe alternatives you've considered
N/A
Additional context
Metadata
Metadata
Assignees
Labels
No labels