TypeScript enums
So enums are objects with all keys being values and values being keys. Most of the time when using enums though, I place a specific enum, so knowing exactly what the value will be there. Is there a way to instead of referring to the object to get to the value, it just hard codes the value when bundling from ts to js?
4 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
It didn’t provide anything new. What I want to do is What I want it to do when bundling to js is
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Oh my bad. Thanks.