Learn TypeScript Free in 30 Days
Add types to real JavaScript: interfaces, union types, generics, and the strict-mode compiler that catches bugs before your code runs.
Thirty days is enough to get productive with TypeScript, as long as you already know JavaScript. TypeScript is JavaScript with a type system on top, so this plan skips the language basics and spends the whole month on the types: interfaces, generics, and the compiler that catches mistakes before you run the code. It is 38 hours across two free courses, about 1.3 hours a day. You start with Scrimba's interactive course, where you write typed code right in the browser, then move into The Odin Project's project-based lessons that wire TypeScript into a real build. By day 30 you can add types to a Node or React project instead of reaching for `any`. According to the 2025 Stack Overflow Developer Survey, 43% of professional developers use TypeScript, up from 34% in 2022 (survey.stackoverflow.co/2025/technology), so this is a skill employers actively look for.
The daily math
This plan is 38 hours of free courses spread across 30 days. That works out to about 1.3 hours a day, or roughly 8.9 hours a week if you prefer to batch it. Miss a day and you make it up on the weekend; the point is a pace you can actually keep.
The plan, course by course
Why this set, and what we left out
Scrimba goes first because you write `.ts` code directly in the video player, so the type syntax sticks through doing, not reading. The Odin Project follows because its lessons tie TypeScript to a real project with a tsconfig and a build step, which is where the pieces click. We left Full Stack Open's TypeScript module out of the 30-day window: it runs 30 hours on its own, and stacked on Scrimba it pushes past a one-month pace, so it fits the longer track better. The official TypeScript Handbook is free and worth keeping open as a reference, but it reads like documentation, not a course, so we did not build the month around it. Once these two are done, our TypeScript tutorials (a Commander.js CLI and an Express REST API) are the natural hands-on next step.
The honest catch
This month teaches you TypeScript the language, not a framework. You will type functions, objects, and generics well, but wiring TypeScript into a React build, a monorepo, or a CI pipeline is separate work you pick up on a real project. And if you do not already know JavaScript, do the 30-day JavaScript plan first: both courses here assume the JS basics from day one.
Keep going
Frequently asked questions
Do I need to know JavaScript before this?
Yes. TypeScript compiles to JavaScript and shares all of its syntax and runtime behavior; the types are an extra layer on top. If you are new to both, do the 30-day JavaScript plan first, then come back. If you already know functions, arrays, objects, and async, you are ready.
Can I really learn TypeScript in 30 days?
From JavaScript basics, yes, at about 1.3 hours a day. The syntax clicks in the first week, and the payoff shows up soon after, the first time the compiler catches a bug you would have shipped. From zero programming, no: learn JavaScript first.
Is TypeScript only for React and front-end work?
No. TypeScript runs across the stack: Node.js backends, command-line tools, serverless functions, and React UIs all use it. Both courses here are framework-agnostic, so you can take the types into whatever you build next.
Should I turn on strict mode?
Yes, from day one. Strict mode ("strict": true in tsconfig.json) turns on checks that catch real bugs: no implicit any, no unchecked null access, stricter function types. It feels stricter at first, but learning to satisfy the compiler is the habit that makes your TypeScript reliable.