- De facto standard after Flow demise
- No spec
- Types are runtime-only
- TypeScript Playground
- Comments are allowed inside this file
- Official tsconfig.json reference
- Matt Pocock: The TSConfig Cheat Sheet (2023)
- Аюб Бегимкулов: Полноценный гайд по tsconfig (2023)
- tsconfig-paths-webpack-plugin
- vite-tsconfig-paths
- DreyLiky: Path Aliases & index.ts (2022)
- Using @/ path mapping on Create React App projects (2023)
- Transpile only w/o type-checking
npx tsc --init
- Quick start when using Vite:
npm create vite@latest my-project -- --template vanilla-ts
- Vite official docs, TypeScript section
- literal types https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#literal-types
import type
https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-8.html- Type narrowing https://www.typescriptlang.org/docs/handbook/2/narrowing.html