Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

Defining Tuples In Typescript

 let yourTuple: readonly [number, number];
 yourTuple = [12, 44];
 
Source by www.typescriptlang.org #
 
PREVIOUS NEXT
Tagged: #Defining #Tuples #In #Typescript
ADD COMMENT
Topic
Name
6+3 =