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
TypeScript Version: 4.0.0-dev.20200720
Search Terms:
Code
For the typescript
/** @deprecated */ function bar(x: number, y: number){} bar(1, 2); export interface Foo { /** @deprecated */ bar(x: number, y: number): void; } ({ } as Foo).bar(1, 2);
Expected behavior: I'd expect that just the function and method names (bar) are marked as deprecated
bar
Actual behavior: The entire call expression is marked as deprecated
For complex function/method calls, the current behavior feels a little too agressive :
The text was updated successfully, but these errors were encountered:
Kingwl
Successfully merging a pull request may close this issue.
TypeScript Version: 4.0.0-dev.20200720
Search Terms:
Code
For the typescript
Expected behavior:
I'd expect that just the function and method names (
bar
) are marked as deprecatedActual behavior:
The entire call expression is marked as deprecated
For complex function/method calls, the current behavior feels a little too agressive :
The text was updated successfully, but these errors were encountered: