Skip to content

allow explicit numbers in interfaces #1192

@Yokozuna59

Description

@Yokozuna59

Hi there, I'd like allow explicit numbers in interfaces, not just number type:

image

interface Model {
  logLevel: 0 | 1 | 2 | 3 | 4 | 5;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    astAST structure related issuehelp wantedExtra attention is neededproposaltypesTypes related issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions