TypeScript Pertanyaan dan Jawaban Wawancara
Question: How do you create an instance of an interface in TypeScript?Answer: Interfaces in TypeScript are not directly instantiated. Instead, you can create an object literal that conforms to the shape of the interface. |
Simpan untuk Revisi
Bookmark item ini, tandai sebagai sulit, atau masukkan ke dalam set revisi.
Masuk untuk menyimpan bookmark, pertanyaan sulit, dan set revisi.
Apakah ini membantu? Ya Tidak
Most helpful rated by users:
- 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?