From 757ab403bfbeb1570d1237fe96ada5c5a217ce35 Mon Sep 17 00:00:00 2001 From: Jeremy <51220084+jeremy-rifkin@users.noreply.github.com> Date: Sun, 18 Dec 2022 12:21:03 -0500 Subject: [PATCH] Fix build, update for new api --- static/panes/editor.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/static/panes/editor.ts b/static/panes/editor.ts index 3b96e962d..e565fd942 100644 --- a/static/panes/editor.ts +++ b/static/panes/editor.ts @@ -1497,16 +1497,16 @@ export class Editor extends MonacoPane { + obj.tag.fixes.map((fs, ind): monaco.languages.CodeAction => { return { title: fs.title, diagnostics: [diag], kind: 'quickfix', edit: { - edits: fs.edits.map(f => { + edits: fs.edits.map((f): monaco.languages.IWorkspaceTextEdit => { return { resource: editorModel.uri, - edit: { + textEdit: { range: new monaco.Range( f.line ?? 0, f.column ?? 0, @@ -1515,6 +1515,7 @@ export class Editor extends MonacoPane