Instructs monaco editor to define the global monaco object.

This commit is contained in:
Henning Dieterichs
2021-06-19 16:25:20 +02:00
parent 1d0e559eb3
commit fdd4927a50

View File

@@ -1,3 +1,5 @@
(globalThis as any).MonacoEnvironment = { globalAPI: true };
import * as React from "react";
import * as ReactDOM from "react-dom";
import "./style.scss";