Log in Sign up
Courses / TypeScript in Practice

TypeScript in Practice

Intermediate
typescript javascript types frontend backend

About this course

A practical TypeScript course — from “why types at all” to the advanced type system and production setup. Aimed at a developer who already writes JavaScript and wants to add static typing: catch errors before running, get autocompletion and refactoring, document interfaces with types. Knowledge of JavaScript is a prerequisite: TypeScript is a superset of JS, meaning all JS stays valid, with a type system added on top.

The course isn’t about relearning from scratch but about how to think in types. The main idea: types aren’t bureaucracy for the compiler but a design tool. A well-described type makes invalid states unrepresentable, turns a whole class of bugs into editor errors, and serves as living documentation. TypeScript is erased at compile time — at runtime it’s ordinary JavaScript, and types exist only for checking. Understanding this boundary (compile-time checking vs runtime behavior) is the key to the whole course.

Topics build up: basic types and type inference, typing functions, interfaces and object types, union types and narrowing, generics, classes and modules, utility and advanced types (mapped, conditional, template literal), tsconfig configuration and tooling, and the ecosystem. Lessons 9–10 cover real project setup and where to go next.

Each lesson contains theory, code examples, a checklist of practical tasks, and a quiz. Examples are checked by the tsc compiler. It’s most convenient to work in an editor with TS support (VS Code) — half of TypeScript’s value shows up precisely in the hints and errors while you write the code.

Lessons (10)

1

Why Types, Installation, First Run

Enroll to unlock lessons
2

Basic Types and Type Inference

Enroll to unlock lessons
3

Typing Functions

Enroll to unlock lessons
4

Object Types: Interfaces and type

Enroll to unlock lessons
5

Union Types and Narrowing

Enroll to unlock lessons
6

Generics

Enroll to unlock lessons
7

Classes and Modules

Enroll to unlock lessons
8

Utility Types and Advanced Types

Enroll to unlock lessons
9

tsconfig, Tooling, Project

Enroll to unlock lessons
10

Ecosystem, Patterns, What's Next

Enroll to unlock lessons
No ratings yet

Comments (0)

Log in to leave a comment.

No comments yet. Be the first to comment!

Share this course

Invite someone else to start learning.