@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.
- package/dist/index.d.mts +1 -1
- 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;
|