Enumeration.TS – Powerful enums for TypeScript
Enumeration.TS – Powerful enums for TypeScript
Hi HN, lately I've encounter an issue with regular enums in TypeScript. I was adding some behaviour to them and ended up writing switch cases. This was not an option for me and based on C# background I tried to apply enumeration class pattern but have not found any more or less suitable library which will cover all my use cases. So I've implemented one and want to share it. Maybe some of you will find it useful for your projects. Thanks for your time and happy coding. ;)
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Incorrect prediction on native model
Similar products
A powerful bitstream library for TypeScript
Cerialize – Typescript serialization by annotation
Scala-ts – Scala to TypeScript compiler
Hapi with Typescript
JSONSchema to TypeScript compiler
Transpile Scala to TypeScript
Get started modding Factorio in TypeScript
WebSockets Explained with TypeScript
A BubbleShooter Implementation in TypeScript
DuoCode 1.0 bridges the gap between C# and TypeScript