Certificate of completion
Your
Name
has read every lesson of
TypeScript from Zero: Level 1 · TypeScript Foundations
Level 1 of TypeScript from Zero
Programming from scratch
Free
This level
Lessons take 20 to 30 minutes, some shorter or longer as the topic needs. Each module ends with a one-page cheat sheet, in its last lesson. Levels 2 and 3 start with a placement quiz, and a glossary covers the whole course.
Modules
.ts file (and the online Playground)const and letstring, number, booleanprocess.argvif / else and switchnull and undefined?. and nullish coalescing ??null: a first look at narrowingT[] typefor, for...of, and whilemap, filter, find, some, and everyreducevoid: functions that return nothingnode:testreadonly propertiestype)extendstype or interface: a simple rule for choosingObject.keys and Object.entriesRecord, Map, and Set"todo" | "done")typeof, equality, and truthinessin operatorthrow and try / catchany vs unknown: the escape hatch and the safe boxconsole, breakpoints, isolating the problemimport and export: "type": "module", .ts extensions, import typepackage.json: installing packages and writing scripts@types and the types settingtsconfig.json: strict, and the flags that keep TypeScript in sync with Nodecheck, test, and start scripts.<T> means: Array<T> and Map<K, V>Map<string, Task> and write a generic findBy helper.Promise<T>async / awaittry around awaitawait: .catch and unknowndelay() helper and a reminder that waits before it prints.parse and stringify, and why JSON.parse returns anyreadFile and writeFilereadlinefetch: getting data from a web APIprivate, #private, and readonly: TypeScript privacy vs JavaScript privacyTaskStore class with #private data and public methods.@typeschalk: colors in the terminalcommander: a real command-line interfacedate-fns: working with due dateslodash: ready-made helpers, with types from @types/lodash.gitignoreVisual language
Your certificate
Read every lesson of the level and it is yours, with your name on it. Pass every exercise and quiz as well, and it says Theory and Practice.
Certificate of completion
has read every lesson of
TypeScript from Zero: Level 1 · TypeScript Foundations
Levels
Every level, from your first line of code on.
Paid · in progressProgramming from scratch
FreeBreak a problem into steps, write and test small programs, read error messages, work with files and web APIs, and use npm packages safely.
Start Level 1 freeNot part of the levels. These two modules show where TypeScript is used and which libraries you'll meet. Each lesson explains what a platform, tool, or library is for and shows one short example of where TypeScript helps. The tools themselves are learned separately; this course doesn't teach them in depth.