Skip to content

Class like behavior #28

@joegaudet

Description

@joegaudet

In addition to strict enumerations one of the things I love about enums in other languages (Java comes to mind) is having them behave like classes.

I have a small TS library that shows an example of how I like to use them as a pattern in JS/TS applications.

https://github.com/joegaudet/real-enums

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions