Learn TypeScript
JavaScript with types that catch mistakes early. 37 short lessons with runnable examples and practice. The first 4 are free.
37 topicsAbout 7 hoursBeginner friendly
Getting Started
- 01What TypeScript isJavaScript with types: mistakes caught before the code runs.Free
- 02Adding typesGive values a type with string, number and boolean.Free
- 03Type inferenceLet TypeScript work out types from values, and know when to write them.Free
- 04Reading type errorsRead type errors calmly: the line, the code and the message.Free
33 more topics, up to the advanced ones, are in the Languages Plan.
Practice TypeScript as you learn
With a free account you can run every example, write code in the editor and practice each topic. The Languages Plan opens every lesson in every language course.