Open
Description
With Typescript 5.8's erasableSyntaxOnly
flag and with Node's type stripping support, it looks like they're pushing us away from from using TS only language features (enum, namespaces, etc) We heavily rely on the enums as generated objects for typesafety everywhere.
Would love to be able to just generate the object version of these enums in the generated output.
(I did try with templates, but was unsuccessful)