Skip to content

Commit

Permalink
feat: change monaco runtime to 2018
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin101Zhang committed Jul 30, 2024
1 parent f8204cf commit efcacbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/Editor/EditorComponents/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ const Editor: React.FC = (): ReactElement => {
);

monaco.languages.typescript.typescriptDefaults.setCompilerOptions({
target: monaco.languages.typescript.ScriptTarget.Latest,
target: monaco.languages.typescript.ScriptTarget.ES2018,
allowNonTsExtensions: true,
moduleResolution: monaco.languages.typescript.ModuleResolutionKind.NodeJs,
});
Expand Down

0 comments on commit efcacbe

Please sign in to comment.