loading...

re: Introduction to TypeScript Data Types — Tuple, Enum, and Any VIEW POST

TOP OF THREAD FULL DISCUSSION
re: How is Enum interop with JavaScript? Why not String with predefined values?
 

It's just converted back to the usual JavaScript data types depending on the value you assigned the enum to.

code of conduct - report abuse