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 +1 -1
- package/package.json +1 -1
- package/types/index.d.ts +2 -2
- package/types/lsp.d.ts +1 -1
- package/types/ssr.d.ts +2 -2
package/README.md
CHANGED
package/package.json
CHANGED
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 {
|
|
70
|
+
export { FileSystem, Workspace };
|
package/types/lsp.d.ts
CHANGED
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;
|