TypeScript preguntas y respuestas de entrevista
Question: What is the difference between 'interface' and 'type' in TypeScript?Answer: 'interface' is used for object shapes, while 'type' can be used for objects, unions, intersections, and primitives. |
Guardar para repaso
Guarda este elemento en marcadores, marcalo como dificil o agregalo a un conjunto de repaso.
Inicia sesion para guardar marcadores, preguntas dificiles y conjuntos de repaso.
Es util? Si No
Lo mas util segun los usuarios:
- What is TypeScript?
- Explain the difference between \'let\' and \'const\' in TypeScript.
- What are the basic data types in TypeScript?
- How do you define an interface in TypeScript?
- What is the \'any\' type in TypeScript?