mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
Fix inconsistent code action edit property names
**Bug** We were using `edits` in some places and `edit` in others. This broke some use patterns for code actions
This commit is contained in:
@@ -630,7 +630,7 @@ export interface WorkspaceEditDto {
|
||||
|
||||
export interface CodeActionDto {
|
||||
title: string;
|
||||
edits?: WorkspaceEditDto;
|
||||
edit?: WorkspaceEditDto;
|
||||
diagnostics?: IMarkerData[];
|
||||
command?: modes.Command;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user