DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR TYPESCRIPT
typescript type from enum values
enum Weekday { MONDAY = 'mon', TUESDAY = 'tue', WEDNESDAY = 'wed' } type WeekdayType = `${Weekday}`;
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#typescript
#type
#enum
#values
ADD COMMENT
Topic
COMMENT
Name
8+8 =
Submit