What is the use case of tuple in Typescript? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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 ответ
+ 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