TypeScript Index
Use this index to find the lesson that teaches a TypeScript feature, JavaScript runtime behavior, or typed development workflow. TypeScript checks source types before execution; its annotations do not validate external data at runtime. For definitions, see the TypeScript glossary.
Runtime, compiler, project setup, and accessibility
| Topic and learner search terms | Lesson |
|---|---|
| Node.js LTS; npm; install TypeScript; project-local dependency | Unit 0: Runtime setup |
tsc; TypeScript compiler; type checking; emit JavaScript | Unit 0: Compiler setup |
tsconfig.json; target; module; strict mode; compiler options | Unit 0: Project configuration |
.ts source file; compile; emitted .js; type erasure | Unit 0: First TypeScript file |
| VS Code; Theia IDE; editor; workspace; terminal; keyboard shortcuts | Unit 0: Editor setup |
| Screen reader; keyboard navigation; accessible development workflow | Unit 0: Development environment |
let; const; type annotation; type inference; primitive types | Unit 1: Variables and types |
string; number; boolean; console.log(); template literals | Unit 1: Foundations |
Values, input, decisions, and collections
| Topic and learner search terms | Lesson |
|---|---|
Arithmetic; Math; numeric expressions; number conversion | Unit 2: Numbers |
readline; Node.js standard input; terminal prompts; async input | Unit 2: User input |
| Untrusted input; parsing; validation; runtime type checks | Unit 2: Input validation |
Boolean expressions; comparisons; logical operators; if; else; switch | Unit 3: Control flow |
Loops; for; while; break; continue; forEach() | Unit 3: Iteration |
Arrays; T[]; Array<T>; indexes; array methods | Unit 4: Arrays |
| Object shape; property types; nested objects; optional properties | Unit 4: Objects |
| Destructuring; spread; rest; shallow copies; object properties | Unit 4: Object operations |
Strings, typed functions, and object-oriented programming
| Topic and learner search terms | Lesson |
|---|---|
| Strings; string methods; template literals; regular expressions | Unit 5: Strings |
| Type annotations; function contracts; parameter types; return types | Unit 5: Type annotations and contracts |
| Function declaration; function expression; arrow function; callback | Unit 6: Functions |
| Optional parameters; default parameters; rest parameters; arguments | Unit 6: Function parameters |
| Return annotation; function result; scope; closure; reusable logic | Unit 6: Function behavior |
| Type alias; interface; object shape; structural typing | Unit 5: Type contracts |
| Class; constructor; instance; access modifiers; private fields; static methods | Unit 7: Classes |
Inheritance; extends; super; abstract class; method override | Unit 7: Inheritance |
Files, asynchronous code, errors, and JSON
| Topic and learner search terms | Lesson |
|---|---|
Node file system; read file; write file; file paths; fs | Unit 8: File I/O |
Promise; asynchronous file I/O; async; await | Unit 8: Asynchronous operations |
Exceptions; try; catch; finally; custom Error | Unit 8: Error handling |
JSON; JSON.parse(); JSON.stringify(); external data | Unit 8: JSON and data boundaries |
Advanced types, modules, collections, testing, and projects
| Topic and learner search terms | Lesson |
|---|---|
| Union type; intersection type; generic type; type parameters | Unit 9: Typed data |
| Narrowing; type guard; discriminated union; exhaustive checking | Unit 9: Narrowing and guards |
unknown; any; type assertion; runtime validation | Unit 9: Safe type boundaries |
ES modules; import; export; module resolution | Unit 9: TypeScript modules |
CommonJS; require(); module.exports; package.json | Unit 9: CommonJS and packages |
Map<K, V>; Set<T>; typed collections; unique values | Unit 9: Maps and sets |
| CSV; word frequency; typed data processing; project structure | Unit 9: Data processing |
| Jest; test fixtures; assertions; matchers; test suite | Unit 9: Testing with Jest |
| Text adventure; command-line to-do manager; capstone; accessibility requirements | Units 10–11: Projects |
TypeScript curriculum · Book overview · Programming glossary