20+ years web dev | Full-stack architect | AI integrator | Passionate about clean code, APIs, and docs | Building innovative SaaS with AI | Open source enthusiast
The overhead added by them won't have a considerable impact on bundle size and/or performance.
I know this but TypeScript shouldn't have any impact on complied JS files (as an object in Enums' case) in my opinion.
This is not just a file size issue.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thats because you can also use enums to address things and use them as object keys for example.
For me thats not a problem, as long as the developer is aware of that.
The overhead added by them won't have a considerable impact on bundle size and/or performance.
Thanks!
I know this but TypeScript shouldn't have any impact on complied JS files (as an object in Enums' case) in my opinion.
This is not just a file size issue.