diff --git a/services/web/frontend/js/features/source-editor/extensions/wait-for-parser.ts b/services/web/frontend/js/features/source-editor/extensions/wait-for-parser.ts index 95036edd8e..8419bb3beb 100644 --- a/services/web/frontend/js/features/source-editor/extensions/wait-for-parser.ts +++ b/services/web/frontend/js/features/source-editor/extensions/wait-for-parser.ts @@ -9,7 +9,6 @@ import { EditorState } from '@codemirror/state' type UpTo = number | ((view: EditorView) => number) type ParserWait = { - promise: Promise upTo?: UpTo resolve: () => void } @@ -33,7 +32,6 @@ export const parserWatcher = ViewPlugin.fromClass( wait(upTo?: UpTo) { const promise = new Promise(resolve => { const wait = { - promise, upTo, resolve, }