mirror of
https://github.com/immich-app/packages.git
synced 2026-09-30 13:33:01 +08:00
fix: type error (#87)
This commit is contained in:
@@ -137,5 +137,9 @@ export class SvelteMarkdownPreprocess {
|
||||
}
|
||||
|
||||
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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user