We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Consider the following piece of code:
interface Hi { /** @deprecated */ stopUsingMe?: string } export function foo(): Hi { return { stopUsingMe: "toto" } }
I would expect a diagnosis letting me know that I shouldn't use stopUsingMe inside foo(), but that does not happen. I'm using v4.3.3
stopUsingMe
foo()
Note that it works for other elements, for example if I deprecate a function, it's stricken through at every call site.
The text was updated successfully, but these errors were encountered:
Diagnostics are provided by typescript/tsserver. You should ask about it in the typescript repo instead.
Sorry, something went wrong.
This issue looks related: microsoft/TypeScript#45657
It does look related! Thanks 🙏
No branches or pull requests
Consider the following piece of code:
I would expect a diagnosis letting me know that I shouldn't use
stopUsingMe
insidefoo()
, but that does not happen.I'm using v4.3.3
Note that it works for other elements, for example if I deprecate a function, it's stricken through at every call site.
The text was updated successfully, but these errors were encountered: