@slidev/types 0.38.6 → 0.38.7

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 +1 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -370,7 +370,7 @@ interface SlidevMarkdown {
370
370
  }
371
371
  interface SlidevPreparserExtension {
372
372
  name: string;
373
- transformRawLines?(lines: string[]): Promise<void>;
373
+ transformRawLines?(lines: string[]): Promise<void> | void;
374
374
  transformSlide?(content: string, frontmatter: any): Promise<string | undefined>;
375
375
  }
376
376
  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.7",
4
4
  "description": "Shared types declerations for Slidev",
5
5
  "author": "antfu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",