Skip to content

Deprecation shown incorrectly #39542

Description

@Gurran

TypeScript Version: 4.0.0-dev.20200709

Search Terms: deprecated
Code
image

class MyClass {
    move(direction: Direction.Left | Direction.Right) {
        // Left and Right is marked Deprecated!
    }
}


enum Direction {
    Left = -1,
    Right = 1,
}

Related Issues:
I Tried to file a bug to the Typescript Nightly extension, and where redirected here.
microsoft/vscode-typescript-next#11

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to 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