Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

union value typescript

let myVar : string | number;    //myVar can store string and number types
Source by howtodoinjava.com #
 
PREVIOUS NEXT
Tagged: #union #typescript
ADD COMMENT
Topic
Name
2+1 =