diff --git a/src-web/components/core/Editor/Editor.tsx b/src-web/components/core/Editor/Editor.tsx index 4ac418ac..2bf666a0 100644 --- a/src-web/components/core/Editor/Editor.tsx +++ b/src-web/components/core/Editor/Editor.tsx @@ -99,7 +99,11 @@ const stateFields = { history: historyField, folds: foldState }; const emptyVariables: WrappedEnvironmentVariable[] = []; const emptyExtension: Extension = []; -export function Editor({ +export function Editor(props: EditorProps) { + return ; +} + +function EditorInner({ actions, autoFocus, autoSelect, diff --git a/src-web/package.json b/src-web/package.json index 37155d59..20f8ce78 100644 --- a/src-web/package.json +++ b/src-web/package.json @@ -5,7 +5,8 @@ "type": "module", "scripts": { "dev": "vite dev --force", - "build": "vite build" + "build": "vite build", + "lint": "tsc --noEmit" }, "dependencies": { "@codemirror/commands": "^6.8.1",