Back to listCategory compatibility Workaround partial Stage migration Freshness emerging Scope language Upstream open Recurring No Buyer Type team Maintainer active
TypeScript feature incompatibility with Node.js native type stripping
6/10 MediumTypeScript features like enums, namespaces, and parameter properties require runtime transpilation and are incompatible with Node.js's `--erasableSyntaxOnly` mode. Developers must migrate to `as const` objects and ES modules, creating a backward compatibility challenge.
Collection History
Query: “What are the most common pain points with TypeScript in 2025?”3/27/2026
The `--erasableSyntaxOnly` compiler option generates errors for features requiring runtime transpilation (specifically enums, namespaces, and parameter properties), marking them as incompatible with erasable-only execution.
Created: 3/27/2026Updated: 3/27/2026