@slidev/types 0.43.0-beta.3 → 0.43.0-beta.5

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/dist/index.d.mts CHANGED
@@ -237,6 +237,12 @@ interface SlidevConfig {
237
237
  * @default false
238
238
  */
239
239
  mdc?: boolean;
240
+ /**
241
+ * Enable built-in editor
242
+ *
243
+ * @default true
244
+ */
245
+ editor: boolean;
240
246
  }
241
247
  interface FontOptions {
242
248
  /**
@@ -414,6 +420,7 @@ interface MonacoSetupReturn {
414
420
  light?: string;
415
421
  dark?: string;
416
422
  };
423
+ editorOptions?: monaco.editor.IEditorOptions;
417
424
  }
418
425
  type MermaidOptions = (typeof mermaid.initialize) extends (a: infer A) => any ? A : never;
419
426
  interface NavOperations {
package/dist/index.d.ts CHANGED
@@ -237,6 +237,12 @@ interface SlidevConfig {
237
237
  * @default false
238
238
  */
239
239
  mdc?: boolean;
240
+ /**
241
+ * Enable built-in editor
242
+ *
243
+ * @default true
244
+ */
245
+ editor: boolean;
240
246
  }
241
247
  interface FontOptions {
242
248
  /**
@@ -414,6 +420,7 @@ interface MonacoSetupReturn {
414
420
  light?: string;
415
421
  dark?: string;
416
422
  };
423
+ editorOptions?: monaco.editor.IEditorOptions;
417
424
  }
418
425
  type MermaidOptions = (typeof mermaid.initialize) extends (a: infer A) => any ? A : never;
419
426
  interface NavOperations {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slidev/types",
3
- "version": "0.43.0-beta.3",
3
+ "version": "0.43.0-beta.5",
4
4
  "description": "Shared types declarations for Slidev",
5
5
  "author": "antfu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",