Skip to content

Deprecation shown incorrectly #39542

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Gurran opened this issue Jul 10, 2020 · 1 comment · Fixed by #39611
Closed

Deprecation shown incorrectly #39542

Gurran opened this issue Jul 10, 2020 · 1 comment · Fixed by #39611

Comments

@Gurran
Copy link

Gurran commented Jul 10, 2020

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

@Gurran
Copy link
Author

Gurran commented Jul 16, 2020

Thanks for the quick fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant