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