ReScript TypeScript 5.8 Ships --erasableSyntaxOnly To Disable EnumsTypeScript 5.8's new erasableSyntaxOnly flag enforces pure type annotations by disabling enums, namespaces, and parameter properties.https://www.totaltypescript.com/erasable-syntax-onlyErasable Syntax OnlyFrom the start, allow only TypeScript syntax that has no runtime meaning: TS enum Type TS namespaceTSConfig Reference - Docs on every TSConfig optionFrom allowJs to useDefineForClassFields the TSConfig reference includes information about all of the active compiler flags setting up a TypeScript project.https://www.typescriptlang.org/tsconfig/#erasableSyntaxOnly