Best for JavaScript developers
This free, interactive TypeScript course covers type annotations, interfaces, type aliases, union and intersection types, generics, enums, classes, access modifiers, decorators, modules, utility types (Partial, Pick, Omit, Record), and strict null checking — all by writing and running real TypeScript code in your browser.
Who this is for
JavaScript developers who want safer, more maintainable code, frontend engineers working with React or Angular, backend developers using Node.js, and anyone moving toward full-stack TypeScript.
What you'll build
Start here
What TypeScript is, why it exists, and how to write your first typed program.
Full curriculum
What TypeScript is, why it exists, and how to write your first typed program.
Declaring variables with let, const, and var — and why TypeScript makes variable declarations safer.
Primitive types, arrays, tuples, and special types like any, unknown, and never.
Typed function parameters, return types, overloads, rest parameters, and higher-order functions.
Typed arrays, readonly arrays, tuples, and working with array methods in TypeScript.
Object types, index signatures, structural typing, object spread, and working with Object methods.
Define object shapes with interfaces — the backbone of TypeScript's structural type system.
TypeScript classes with access modifiers, readonly, abstract classes, and interface implementation.
Named constant sets with numeric and string enums, const enums, and when to use them.
Combine types with | (union) and & (intersection), and use type aliases for reusable type definitions.
Write reusable, type-safe functions and data structures with generics.
TypeScript's built-in type transformers: Partial, Required, Readonly, Pick, Omit, Record, and more.
Safely narrow union types at runtime using typeof, instanceof, in, and custom type guards.
Type async functions, Promises, and handle errors in asynchronous TypeScript code.
Organize TypeScript code with ES modules, export patterns, and declaration files.
try/catch with unknown errors, custom error classes, Result types, and building robust error handling patterns.
Mapped types, conditional types, template literal types, and infer keyword.
TypeScript is JavaScript with superpowers — it adds static types, interfaces, and powerful tooling to the world's most popular language. Companies like Microsoft, Airbnb, Slack, and Stripe use TypeScript to build large-scale applications with fewer bugs and better developer experience. If you know JavaScript, TypeScript is the natural next step. If you're starting fresh, TypeScript sets you up with professional-grade habits from day one.
This free, interactive TypeScript course covers type annotations, interfaces, type aliases, union and intersection types, generics, enums, classes, access modifiers, decorators, modules, utility types (Partial, Pick, Omit, Record), and strict null checking — all by writing and running real TypeScript code in your browser.
17 topics · 214 hands-on lessons · all levels
JavaScript developers who want safer, more maintainable code, frontend engineers working with React or Angular, backend developers using Node.js, and anyone moving toward full-stack TypeScript.