mirror of
https://github.com/ritz078/transform.git
synced 2026-11-25 10:14:22 +03:00
disable syntax check for typescript
This commit is contained in:
1 parent
aa39aaa4eb
commit
27b46790f0
1 file changed
+6
-1
@@ -1,8 +1,13 @@
|
||||
import React from "react";
|
||||
import { editor } from "monaco-editor";
|
||||
import { editor, languages } from "monaco-editor";
|
||||
import { Pane } from "evergreen-ui";
|
||||
import { lightEditor } from "@utils/theme";
|
||||
|
||||
languages.typescript.typescriptDefaults.setDiagnosticsOptions({
|
||||
noSemanticValidation: true,
|
||||
noSyntaxValidation: true
|
||||
});
|
||||
|
||||
// @ts-ignore
|
||||
self.MonacoEnvironment = {
|
||||
getWorkerUrl: function(_moduleId, label) {
|
||||
|
||||
Reference in new issue
Block a user