mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 20:13:32 +01:00
@@ -22,7 +22,7 @@ export class ReferencesCodeLens extends vscode.CodeLens {
|
||||
}
|
||||
}
|
||||
|
||||
export abstract class TypeScriptBaseCodeLensProvider extends Disposable implements vscode.CodeLensProvider<ReferencesCodeLens>{
|
||||
export abstract class TypeScriptBaseCodeLensProvider extends Disposable implements vscode.CodeLensProvider<ReferencesCodeLens> {
|
||||
protected changeEmitter = this._register(new vscode.EventEmitter<void>());
|
||||
public onDidChangeCodeLenses = this.changeEmitter.event;
|
||||
|
||||
|
||||
@@ -371,7 +371,7 @@ class TypeScriptQuickFixProvider implements vscode.CodeActionProvider<VsCodeCode
|
||||
codeAction.diagnostics = [diagnostic];
|
||||
codeAction.command = {
|
||||
command: ApplyCodeActionCommand.ID,
|
||||
arguments: [<ApplyCodeActionCommand_args>{ action: action, diagnostic, document }],
|
||||
arguments: [{ action: action, diagnostic, document } satisfies ApplyCodeActionCommand_args],
|
||||
title: ''
|
||||
};
|
||||
if (expand && message !== undefined) {
|
||||
@@ -425,7 +425,7 @@ class TypeScriptQuickFixProvider implements vscode.CodeActionProvider<VsCodeCode
|
||||
action.diagnostics = [diagnostic];
|
||||
action.command = {
|
||||
command: ApplyFixAllCodeAction.ID,
|
||||
arguments: [<ApplyFixAllCodeAction_args>{ action }],
|
||||
arguments: [{ action } satisfies ApplyFixAllCodeAction_args],
|
||||
title: ''
|
||||
};
|
||||
results.addFixAllAction(tsAction.fixId, action);
|
||||
|
||||
Reference in New Issue
Block a user