Texonom
Texonom
/
Engineering
Engineering
/Software Engineering/Programming/Programming Language/Programming Languages/4GL/ECMAScript/Typescript/Typescript History/
Typescript 5.8
Loading views...
Search

Typescript 5.8

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2025 Jul 16 13:51
Editor
Editor
Seonglae ChoSeonglae Cho
Edited
Edited
2026 Jun 24 16:9
Refs
Refs
 
 
 
 
 

ReScript

TypeScript 5.8 Ships --erasableSyntaxOnly To Disable Enums
TypeScript 5.8's new erasableSyntaxOnly flag enforces pure type annotations by disabling enums, namespaces, and parameter properties.
TypeScript 5.8 Ships --erasableSyntaxOnly To Disable Enums
https://www.totaltypescript.com/erasable-syntax-only
TypeScript 5.8 Ships --erasableSyntaxOnly To Disable Enums

Erasable Syntax Only

From the start, allow only TypeScript syntax that has no runtime meaning:
TS enum Type
TS namespace
TSConfig Reference - Docs on every TSConfig option
From allowJs to useDefineForClassFields the TSConfig reference includes information about all of the active compiler flags setting up a TypeScript project.
TSConfig Reference - Docs on every TSConfig option
https://www.typescriptlang.org/tsconfig/#erasableSyntaxOnly
 

Recommendations

Texonom
Texonom
/
Engineering
Engineering
/Software Engineering/Programming/Programming Language/Programming Languages/4GL/ECMAScript/Typescript/Typescript History/
Typescript 5.8
Copyright Seonglae Cho