TypeScript Exercises
158 practice questions across 27 topics. Each set sits at the end of the lesson it belongs to, so you can read the explanation and practise in one place.
- Introduction5 questions
- Get Started5 questions
- Simple Types6 questions
- Special Types7 questions
- Arrays5 questions
- Tuples5 questions
- Object Types6 questions
- Enums6 questions
- Aliases & Interfaces7 questions
- Union Types5 questions
- Functions6 questions
- Casting5 questions
- Classes6 questions
- Generics7 questions
- Utility Types7 questions
- Keyof5 questions
- Null & Undefined6 questions
- Namespaces5 questions
- Index Signatures6 questions
- Type Guards6 questions
- Conditional Types6 questions
- Mapped Types6 questions
- Literal Types6 questions
- Async Programming6 questions
- Decorators6 questions
- Error Handling6 questions
- Best Practices6 questions