mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-19 08:08:39 +01:00
@@ -50,8 +50,7 @@ class AddToIgnoreLinksQuickFixProvider implements vscode.CodeActionProvider {
|
||||
case DiagnosticCode.link_noSuchHeaderInOwnFile:
|
||||
case DiagnosticCode.link_noSuchFile:
|
||||
case DiagnosticCode.link_noSuchHeaderInFile: {
|
||||
// eslint-disable-next-line local/code-no-any-casts
|
||||
const hrefText = (diagnostic as any).data?.hrefText;
|
||||
const hrefText = (diagnostic as unknown as Record<string, any>).data?.hrefText;
|
||||
if (hrefText) {
|
||||
const fix = new vscode.CodeAction(
|
||||
vscode.l10n.t("Exclude '{0}' from link validation.", hrefText),
|
||||
|
||||
Reference in New Issue
Block a user