What is the use case of tuple in Typescript? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

What is the use case of tuple in Typescript?

Why should we use tulpes in typescript? We can use Interface and objects to do the same thing!!!

28th Aug 2020, 11:37 AM
Plaban Kr. Mondal
Plaban Kr. Mondal - avatar
1 Resposta
+ 5
Tuples make the process shorter and also ensure that they will remain unchanged!
28th Aug 2020, 12:00 PM
Namit Jain
Namit Jain - avatar