All TypeScript topics
TypeScript • Topic Section2 scenarios

TypeScript from Scratch & Strict Architecture

Project setup, tsconfig strict 2026, path aliases, and ESLint v9

Fundamental start in TypeScript: environment initialization, strict compiler flags (noUncheckedIndexedAccess, isolatedDeclarations), path aliases, and linting.

tsconfig strictPath AliasesisolatedDeclarationsESLint v9 Flattsc-watch
Topic Progress
0%(0 of 2 completed)
+100 XP~75 min

Practical Section Scenarios

2 scenarios available

Difficulty level:
Junior35 min+50 XP
TypeScript Project Setup from Scratch: tsconfig strict 2026, path aliases, ESLint v9 flat config, and tsc-watch

Пошаговый производственный рецепт инициализации строгого TypeScript-проекта с нуля: оптимальная конфигурация tsconfig.json (noUncheckedIndexedAccess, exactOptionalPropertyTypes, isolatedDeclarations), настройка абсолютных путей @/*, современный Flat Config ESLint v9 и автоматический вотчер компилятора.

TypeScript 5.8+ESLint 9 (Flat Config)Node.js 24 LTSpnpmtsc-watch
Production ScenarioOpen workflow
Middle40 min+50 XP
Discriminated Unions and Custom Type Guards: Making Impossible States Impossible and Exhaustiveness Checking

Глубокое освоение выразительной системы типов TypeScript: проектирование предметной области через размеченные объединения (Discriminated Unions), исчерпывающая проверка ветвей через тип never, создание надежных предикатов типов (arg is Type) и assertion-функций для исключения невозможных состояний.

TypeScript 5.8+Tagged UnionsUser-Defined Type GuardsAssertion Functions
Production ScenarioOpen workflow