You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature request
VS Code recently added special for special rendering of error spans for deprecated symbols: microsoft/vscode#56694 These are rendered as strike out in the editor
We would like the TypeScript server to also generate suggestion diagnostics for uses of deprecated symbols:
/** * @deprecated */functionfoo(){}foo()/* Call to `foo` should rendered with a strike out*/
Proposed API change
This feature is broadly similar to how TypeScript supports rendering unused diagnostics. Unused diagnostics are indicated by a reportsUnnecessary field on the diagnostic.
To support deprecated diagnostics as well, we could add a new reportsDeprecated field
TypeScript Version: 3.6.0-rc
Search Terms:
Feature request
VS Code recently added special for special rendering of error spans for deprecated symbols: microsoft/vscode#56694 These are rendered as strike out in the editor
We would like the TypeScript server to also generate suggestion diagnostics for uses of deprecated symbols:
Proposed API change
This feature is broadly similar to how TypeScript supports rendering unused diagnostics. Unused diagnostics are indicated by a
reportsUnnecessary
field on the diagnostic.To support deprecated diagnostics as well, we could add a new
reportsDeprecated
fieldVS Code would provide the support for enabling/disabling deprecated diagnostics; TS Server just needs to return this information to us
Related Issues:
The text was updated successfully, but these errors were encountered: