modern-monaco 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -248,7 +248,7 @@ const workspace = new Workspace({
248
248
  "index.html": indexHtml,
249
249
  "app.tsx": appTsx,
250
250
  },
251
- customFs: new CustomFileSystem(),
251
+ customFS: new CustomFileSystem(),
252
252
  });
253
253
  ```
254
254
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "modern-monaco",
3
3
  "description": "A modern version of Monaco Editor",
4
- "version": "0.1.3",
4
+ "version": "0.1.4",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",
package/types/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type monacoNS from "./monaco.d.ts";
1
+ import type * as monacoNS from "./monaco.d.ts";
2
2
  import type { LSPConfig } from "./lsp.d.ts";
3
3
  import type { TextmateGrammarName, TextmateThemeName } from "./textmate.d.ts";
4
4
  import type { ErrorNotFound, FileSystem, Workspace } from "./workspace.d.ts";
@@ -67,4 +67,4 @@ export const errors: {
67
67
  NotFound: ErrorNotFound;
68
68
  };
69
69
 
70
- export { Workspace, FileSystem };
70
+ export { FileSystem, Workspace };
package/types/lsp.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type ts from "typescript";
2
- import type monacoNS from "./monaco.d.ts";
2
+ import type * as monacoNS from "./monaco.d.ts";
3
3
  import type { JSONSchema } from "./jsonSchema.d.ts";
4
4
  import type { Workspace } from "./workspace.d.ts";
5
5
 
package/types/ssr.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- import type monacoNS from "./monaco.d.ts";
1
+ import type * as monacoNS from "./monaco.d.ts";
2
2
  import type { ShikiInitOptions } from "./index.d.ts";
3
3
 
4
4
  export type RenderInput = string | { filename: string; code: string; version?: number };
5
5
 
6
- export interface RenderOptions extends monacoNS.editor.IStandaloneEditorConstructionOptions {
6
+ export interface RenderOptions extends Omit<monacoNS.editor.IStandaloneEditorConstructionOptions, "model" | "value"> {
7
7
  fontDigitWidth?: number;
8
8
  userAgent?: string;
9
9
  shiki?: ShikiInitOptions;