TS Bootcamp
A 30-day plan that takes you from "what's a type?" to "I can ship a typed library, monorepo project, or production frontend."
Week 1 — Foundations
| Day | Lessons |
|---|---|
| 1 | Intro, getstarted, syntax |
| 2 | Basic types, type inference, narrowing |
| 3 | Arrays, tuples, objects, enums |
| 4–5 | Unions, intersections, literals, any / unknown / never / void |
| 6 | null / undefined, optional chaining |
| 7 | Practice — annotate a JS file you wrote earlier |
Week 2 — Functions & classes
| Day | Lessons |
|---|---|
| 8–9 | Functions, parameters, returns, overloads |
| 10 | Async / promises |
| 11 | Generics — including extends and defaults |
| 12 | Classes — fields, constructors, access modifiers |
| 13 | Inheritance, abstract, interfaces vs type aliases |
| 14 | Practice — refactor a project into typed classes |
Week 3 — Advanced types
| Day | Topic |
|---|---|
| 15 | keyof, typeof, indexed access |
| 16 | Conditional types and infer |
| 17 | Mapped types |
| 18 | Template literal types |
| 19 | Utility types — Partial, Pick, Omit, Awaited, … |
| 20 | Type guards and assertions |
| 21 | Discriminated unions for state machines |
Week 4 — Project ready
| Day | Topic |
|---|---|
| 22 | tsconfig.json and strict mode |
| 23 | Modules, path aliases, declaration files |
| 24 | ESLint + Prettier + Husky |
| 25 | tsx, ts-node, build tools (esbuild, swc, tsc) |
| 26 | Vitest — write tests for what you built |
| 27 | Monorepo + project references |
| 28 | Decorators & meta-programming basics |
| 29–30 | Capstone — typed CLI, small API, or component library |
Tip: Pick a capstone you'd actually use. Code you run beats code you imagine.
Example
Example
// 30-day TS bootcamp:
// Week 1: types, narrowing, functions
// Week 2: generics, classes, interfaces
// Week 3: advanced types, declaration files
// Week 4: tooling, testing, capstone
console.log('Pick a capstone — typed CLI, small API, or component library');
Try it Yourself »
Exercise
Bootcamp duration in days.
Two digits.
Discussion
Loading…