✓ Works

Node.js 22 + TypeScript 4.x: Compatible; Upgrade to TypeScript 5

Node.js 22 + TypeScript 4.x

TypeScript 4.x has a permissive engines requirement and runs on Node.js 22 without issues. TypeScript 4.9 (the final 4.x release, November 2022) introduced the `satisfies` operator. TypeScript 5 is the current major with 10–20% faster compilation and new language features. Upgrade: `npm install typescript@latest`.

Workarounds & Fixes

Related Error Pages

Related Combinations

Node.js 22 + TypeScript 5.x ✓ Works Node.js 20 + TypeScript 4.x ✓ Works Node.js 18 + TypeScript 4.x ✓ Works Node.js 16 + TypeScript 4.x ✓ Works
Last verified: 2024-10-01  ·  Category: Node.js + TypeScript