TypeScript Interview Questions and Answers
Question: Explain the 'async' and 'await' keywords in TypeScript.Answer: 'async' is used to declare an asynchronous function, and 'await' is used to pause the execution of the function until the promise is resolved. |
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Is it helpful? Yes No
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?