← All courses
LANG TS · 2 credits
TypeScript
TypeScript is JavaScript with a type system on top, and it is the default language of professional web development today. Building directly on both JavaScript courses, you will annotate variables and functions, shape data with interfaces and unions, narrow types safely, write generics from first principles, apply the built-in utility types to API data, and configure and migrate real projects. Every new idea is shown as JavaScript first, then the TypeScript version side by side.
Local progress0/26 lessons · 0%
What you'll learn
- ✓Annotate variables, function parameters, and return values so the compiler catches bugs before the code runs
- ✓Model real data with interfaces, type aliases, optional and readonly properties, and literal types
- ✓Use union types and narrowing (typeof, in, discriminated unions) to handle data that can take several shapes
- ✓Write and read generic functions, generic interfaces, and constraints without guessing
- ✓Apply built-in utility types like Partial, Pick, Omit, and Record to real API-shaped data
- ✓Set up tsconfig, migrate a JavaScript file to TypeScript, and decode the most common compiler errors
- ✓Handle missing values safely: string | null unions, optional chaining ?., nullish coalescing ??, and tuples for fixed-position data
Unit 1Why Types
Unit 2Core Types
Unit 3Interfaces and Type Aliases
Unit 4Union Types and Narrowing
Unit 5Functions Typed Well
Unit 6Generics
Unit 7Utility Types and Real Patterns
Unit 8TypeScript in Practice
Reviews
—
0 ratings
5
0
4
0
3
0
2
0
1
0
- No reviews yet.
Discussion
- No comments yet. Sign in to comment.