typescript-tips

mgechev Minko Gechev (@mgechev@mstdn.social) (@mgechev) - September 25, 2020 at 2:30 PM

Tip: const enums in TypeScript don’t let you specify values at runtime, but using them you can get smaller production bundles. pic.twitter.com/aiRS4UKeto

Tweet link