@slidev/types 0.48.0-beta.14 → 0.48.0-beta.15

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.mts +1 -1
  2. package/package.json +1 -1
package/dist/index.d.mts CHANGED
@@ -419,7 +419,7 @@ interface SlidevPreparserExtension {
419
419
  transformRawLines?: (lines: string[]) => Promise<void> | void;
420
420
  transformSlide?: (content: string, frontmatter: any) => Promise<string | undefined>;
421
421
  }
422
- type PreparserExtensionLoader = (headmatter?: Record<string, unknown>, filepath?: string) => Promise<SlidevPreparserExtension[]>;
422
+ type PreparserExtensionLoader = (headmatter?: Record<string, unknown>, filepath?: string, mode?: string) => Promise<SlidevPreparserExtension[]>;
423
423
  type RenderContext = 'none' | 'slide' | 'overview' | 'presenter' | 'previewNext';
424
424
  type LoadedSnippets = Record<string, string>;
425
425
  type ClicksElement = Element | string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slidev/types",
3
- "version": "0.48.0-beta.14",
3
+ "version": "0.48.0-beta.15",
4
4
  "description": "Shared types declarations for Slidev",
5
5
  "author": "antfu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",