@slidev/types 0.38.6 → 0.38.8

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -22,6 +22,7 @@ interface ExportArgs extends CommonArgs {
22
22
  'with-clicks'?: boolean;
23
23
  'executable-path'?: string;
24
24
  'with-toc'?: boolean;
25
+ 'per-slide'?: boolean;
25
26
  }
26
27
  interface BuildArgs extends ExportArgs {
27
28
  watch: boolean;
@@ -370,7 +371,7 @@ interface SlidevMarkdown {
370
371
  }
371
372
  interface SlidevPreparserExtension {
372
373
  name: string;
373
- transformRawLines?(lines: string[]): Promise<void>;
374
+ transformRawLines?(lines: string[]): Promise<void> | void;
374
375
  transformSlide?(content: string, frontmatter: any): Promise<string | undefined>;
375
376
  }
376
377
  type PreparserExtensionLoader = (headmatter?: Record<string, unknown>, filepath?: string) => Promise<SlidevPreparserExtension[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slidev/types",
3
- "version": "0.38.6",
3
+ "version": "0.38.8",
4
4
  "description": "Shared types declerations for Slidev",
5
5
  "author": "antfu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",