Course 3 of 4 on the Frontend Developer path
TypeScript for JavaScript developers
Add types to JavaScript: types and interfaces, generics, union types and narrowing, utility types and tsconfig.
- 4 lessons
- About 44 min reading
- Intermediate
- Updated 13 Nov 2026
After this course you can
- Describe data with types and interfaces
- Write generic functions and types
- Use unions and narrowing safely
- Use utility types such as Partial, Pick and Record
- Configure tsconfig for a project
Before you start: the JavaScript course.
Lessons
TypeScript fundamentals
Know it, or think you know it?
Take a free mock interview on TypeScript for JavaScript developers for Frontend Developer: 3 questions, a score and feedback on each, in about 10 minutes.