Enums, not supported by ESBuild, replacing them with string unions
I'm curious if you mean the regular enums, or const enums. The latter are not supported (yet) but the former should be working without any issues. Just be careful to store them in .ts files rather than .d.ts.
I'm curious if you mean the regular enums, or
const enums
. The latter are not supported (yet) but the former should be working without any issues. Just be careful to store them in.ts
files rather than.d.ts
.You're right, I'll link to your comment directly in the article, thanks for the suggestion!!