Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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 termsLesson
Node.js LTS; npm; install TypeScript; project-local dependencyUnit 0: Runtime setup
tsc; TypeScript compiler; type checking; emit JavaScriptUnit 0: Compiler setup
tsconfig.json; target; module; strict mode; compiler optionsUnit 0: Project configuration
.ts source file; compile; emitted .js; type erasureUnit 0: First TypeScript file
VS Code; Theia IDE; editor; workspace; terminal; keyboard shortcutsUnit 0: Editor setup
Screen reader; keyboard navigation; accessible development workflowUnit 0: Development environment
let; const; type annotation; type inference; primitive typesUnit 1: Variables and types
string; number; boolean; console.log(); template literalsUnit 1: Foundations

Values, input, decisions, and collections

Topic and learner search termsLesson
Arithmetic; Math; numeric expressions; number conversionUnit 2: Numbers
readline; Node.js standard input; terminal prompts; async inputUnit 2: User input
Untrusted input; parsing; validation; runtime type checksUnit 2: Input validation
Boolean expressions; comparisons; logical operators; if; else; switchUnit 3: Control flow
Loops; for; while; break; continue; forEach()Unit 3: Iteration
Arrays; T[]; Array<T>; indexes; array methodsUnit 4: Arrays
Object shape; property types; nested objects; optional propertiesUnit 4: Objects
Destructuring; spread; rest; shallow copies; object propertiesUnit 4: Object operations

Strings, typed functions, and object-oriented programming

Topic and learner search termsLesson
Strings; string methods; template literals; regular expressionsUnit 5: Strings
Type annotations; function contracts; parameter types; return typesUnit 5: Type annotations and contracts
Function declaration; function expression; arrow function; callbackUnit 6: Functions
Optional parameters; default parameters; rest parameters; argumentsUnit 6: Function parameters
Return annotation; function result; scope; closure; reusable logicUnit 6: Function behavior
Type alias; interface; object shape; structural typingUnit 5: Type contracts
Class; constructor; instance; access modifiers; private fields; static methodsUnit 7: Classes
Inheritance; extends; super; abstract class; method overrideUnit 7: Inheritance

Files, asynchronous code, errors, and JSON

Topic and learner search termsLesson
Node file system; read file; write file; file paths; fsUnit 8: File I/O
Promise; asynchronous file I/O; async; awaitUnit 8: Asynchronous operations
Exceptions; try; catch; finally; custom ErrorUnit 8: Error handling
JSON; JSON.parse(); JSON.stringify(); external dataUnit 8: JSON and data boundaries

Advanced types, modules, collections, testing, and projects

Topic and learner search termsLesson
Union type; intersection type; generic type; type parametersUnit 9: Typed data
Narrowing; type guard; discriminated union; exhaustive checkingUnit 9: Narrowing and guards
unknown; any; type assertion; runtime validationUnit 9: Safe type boundaries
ES modules; import; export; module resolutionUnit 9: TypeScript modules
CommonJS; require(); module.exports; package.jsonUnit 9: CommonJS and packages
Map<K, V>; Set<T>; typed collections; unique valuesUnit 9: Maps and sets
CSV; word frequency; typed data processing; project structureUnit 9: Data processing
Jest; test fixtures; assertions; matchers; test suiteUnit 9: Testing with Jest
Text adventure; command-line to-do manager; capstone; accessibility requirementsUnits 10–11: Projects

TypeScript curriculum · Book overview · Programming glossary