disable syntax check for typescript

This commit is contained in:
Ritesh Kumar committed 2020-02-20 01:56:45 +05:30
1 parent aa39aaa4eb
commit 27b46790f0
1 file changed
+6 -1
+6 -1
View File
@@ -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) {