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. ;)
Show HN: Enumeration.TS – Powerful enums for TypeScript | Heykuki News