From 81d892ffcc4da6f47e2065dddc4d029fe1bbe36a Mon Sep 17 00:00:00 2001 From: Emile Bangma Date: Thu, 19 Sep 2024 12:28:01 +0000 Subject: [PATCH] Updated QuartzParser plugin typing --- quartz/plugins/types.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/quartz/plugins/types.ts b/quartz/plugins/types.ts index 8b995baf3..43d8550c6 100644 --- a/quartz/plugins/types.ts +++ b/quartz/plugins/types.ts @@ -1,4 +1,4 @@ -import { PluggableList } from "unified" +import { PluggableList, Pluggable } from "unified" import { StaticResources } from "../util/resources" import { ProcessedContent } from "./vfile" import { QuartzComponent } from "../components/types" @@ -53,7 +53,7 @@ export type QuartzParserPlugin = ( export type QuartzParserPluginInstance = { name: string textTransform: (ctx: BuildCtx, src: string | Buffer) => string | Buffer - markdownPlugins: (ctx: BuildCtx) => PluggableList - htmlPlugins: (ctx: BuildCtx) => PluggableList + markdownPlugins: (ctx: BuildCtx) => Pluggable + htmlPlugins: (ctx: BuildCtx) => Pluggable externalResources: (ctx: BuildCtx) => Partial }