Below is the method to create a Tuple in TypeScript.
let laptop1 : [string, number, boolean]; laptop1 = ['Dell', 3, true]
As you can see, before assigning elements in the above tuple you will need to declare the type of each element first within the [] bracket.
Accessing the element in that tuple is just like accessing the element in an array with index 0 as the first index of that tuple.
console.log(laptop1[0]) /* Dell */