Re:TypeScript please give us types
by andix on Friday July 07, 2023 @04:31PM
(#36637912)
Let's turn it around, union types are so much easier to use and so much more powerful. Enums have only a small subset of the features, are not compatible to JavaScript code and are hard to understand (read the docs about type script enums and you will see).
[ Parent
| on HN ]
There are no comments on this comment yet.