Skip to content

Support computed string enum members #54

@dosentmatter

Description

@dosentmatter

Should allow string operations such as + (concatenation) but no interpolation. Concatenation is the only operator I am aware of.

const enum MyEnum = {
  A  = 'a' + 'a',
  B = `b` + `b`,
  C = "b" + "b",
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions