Skip to content

Deprecation shown incorrectly #39542

Closed
@Gurran

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

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