Skip to content

Create enum for columns #143

@markcrivera

Description

@markcrivera
          This looks like you're trying to handroll an enum.  Enums under the hood are integer indexed I believe, so you could just make an enum for this and grab the values that way.

https://bobbyhadz.com/blog/typescript-convert-enum-to-string

Don't forget that enums are PascalCase for both their own name as well as the items defined in them.

Originally posted by @Amndeep7 in #10 (comment)

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