4 ms·
but in the code I've written so far trying to construct the the enum object almost always consisted of using a function to validate anyway It's exactly this pr
by CharlieDigital 2y ago
but in the code I've written so far trying to construct the the enum object almost always consisted of using a function to validate anyway
It's exactly this problem and it's not obvious for someone choosing an enum type that the underlying implementation in JS is an object indexer.