Answers for "tuple in typescript"

1

tuple in typescript

let empId: number = 1;
let empName: string = "Steve";        

// Tuple type variable 
let employee: [number, string] = [1, "Steve"];
Posted by: Guest on December-07-2020

Code answers related to "TypeScript"

Browse Popular Code Answers by Language