Lessons
An introduction to writing TypeScript
TypeScript · Introductory. Ten lessons. Open-book quizzes. Lesson 1 free.
10 lessons · The Host · Lesson 1 free
Pass all ten lessons for the certificate. Sample · Claim

Lesson 1 · On the house
Types beside JavaScript
TypeScript is JS with a type checker.

Lesson 2
number, string, boolean, inference
Primitives and inference.

Lesson 3
Arrays and tuples
T[] vs [T, U].

Lesson 4
Interfaces and type aliases
Shapes of objects.

Lesson 5
Unions and narrowing
string | null and control flow.

Lesson 6
Functions
Params, returns, optional.

Lesson 7
Literal types
Limited sets of values.

Lesson 8
Classes sketch
Fields and constructors.

Lesson 9
Modules and import type
ES modules with types.

Lesson 10
A small typed program
Compose types and narrowing.
Sample certificate
Certificate of completion
Sign in to claim your certificate of completion.
Certificate
Finish all ten lessons, then sign in
Pass every lesson on this device (quizzes and checks). Then sign in or create an account to type your name and download the JPG.