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
{{ message }}
Repository navigation
typescript: support non-numeric Diagnostic.code #64848
engineeringVS Code - Build / issue tracking / etc.feature-requestRequest for new features or functionalitytypescriptTypescript support issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)
microsoft/TypeScript#28959 changes Diagnostic.code to type number | string. It's correctly displayed in the tooltip.
However, the code related to CodeFixes currently converts Diagnostic.code to a number before looking it up in the list of supported code fixes.
I'm planning on updating getSupportedCodeFixes to return Array<number | string> as I need CodeFixes for my custom Diagnostics. The current implementation would discard these codes as they result in NaN.
engineeringVS Code - Build / issue tracking / etc.feature-requestRequest for new features or functionalitytypescriptTypescript support issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)
Activity