enum
1 trace
- SyntaxError [ERR_UNSUPPORTED_TYPESCRIPT_SYNTAX]: TypeScript enum is not supported in strip-only mode (node file.ts)Running a .ts file directly with node file.ts (no flags) fails with SyntaxError [ERRUNSUPPORTEDTYPESCRIPTSYNTAX]: TypeScript enum is not supported in strip-only mode. Fix: Replace non-erasable syntax: Make tsc catch it…