Archived
What is a tuple in TypeScript?
-1
Community Evaluations
Jake
01/11/2023
This answer is not correct. Answer 1 and 3 are BOTH correct. Tuples ARE ordered in typescript, therefore they CAN be used to store an ordered list of elements.
Vincent Cotro
03/11/2023
Hi Jake,
Answer 3 is subject to discussion. I understand that it is true but most of the developers are choosing answer 1 vs answer 3. I will validate your alternative question and remove this answer to make it less debatable.
8
Typescript: What is the type of result?6
Create a generic identity function that returns the passed value in Typescript6
Write a generic interface in Typescript7
Import an add function from a TypeScript module math.ts5
What file is used to configure TypeScript?11
Which of the following utility types makes all properties of a given type optional?9
Define a custom type that represents a coordinate with an x and y property of type number in Typescript