Monaco Editor for React - use the monaco-editor in any React application without needing to use webpack (or rollup/parcel/etc) configuration files / plugins
In "src\Editor\types.ts" file defining them as "Theme | string" cause TypeScript interpreted it as just "string", I changed it to "theme?: Theme | (string & {});" so now we can have partial autocomplete and TypeScript provide us 'vs-dark' | 'light' autocomplete and allows any other string.
In "src\Editor\types.ts" file defining them as "Theme | string" cause TypeScript interpreted it as just "string", I changed it to "theme?: Theme | (string & {});" so now we can have partial autocomplete and TypeScript provide us 'vs-dark' | 'light' autocomplete and allows any other string.