News for hackers. Stuff that matters.
Re:Hegel – An advanced static type checker for JavaScript by kamilafsar on Wednesday October 12, 2022 @07:38PM (#33185241)
One of the benefits of these extra steps is being able to use enums.

Using enums is not really that different from using type aliases. It’s a nicer way to write string/number values.

There are no comments on this comment yet.