DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR TYPESCRIPT
typescript type specific numbers
type MyRange = 5|6|7|8|9|10 let myVar:MyRange = 4; // oops, error :)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#typescript
#type
#specific
#numbers
ADD COMMENT
Topic
COMMENT
Name
6+5 =
Submit