
TypeScriptProgramming
Stop reaching for enums by default in TypeScript
TypeScript enums carry runtime cost and type holes most people never notice. A const object with as const is safer, lighter, and friendlier at boundaries.
July 2, 2026 · 5 min readRead article

