diff --git a/web/src/components/Editor/TSEditor.tsx b/web/src/components/Editor/TSEditor.tsx index 578650b454..9ad71030cf 100644 --- a/web/src/components/Editor/TSEditor.tsx +++ b/web/src/components/Editor/TSEditor.tsx @@ -80,6 +80,8 @@ export default function TSEditor(props: { editorRef.current?.setPosition(pos); editorRef.current?.revealPositionInCenter(pos); } + + autoImportTypings.parse(value, monacoRef.current); // eslint-disable-next-line react-hooks/exhaustive-deps }, [path]);