fix: type error (#87)

This commit is contained in:
Jason Rasmussen
2026-04-28 17:25:10 -04:00
committed by GitHub
parent 6cb1a0b177
commit 2e75e1a981
@@ -137,5 +137,9 @@ export class SvelteMarkdownPreprocess {
} }
export const svelteMarkdownPreprocess = (options?: SvelteMarkdownPreprocessOptions) => { export const svelteMarkdownPreprocess = (options?: SvelteMarkdownPreprocessOptions) => {
return new SvelteMarkdownPreprocess(options) satisfies PreprocessorGroup; const plugin = new SvelteMarkdownPreprocess(options);
return {
name: plugin.name,
markup: (item) => plugin.markup(item),
} satisfies PreprocessorGroup;
}; };