From 07754f5873b05ab4dae31ded7264fe4056c2dfc8 Mon Sep 17 00:00:00 2001 From: Ming-jun Lu <40516784+mingjunlu@users.noreply.github.com> Date: Mon, 14 Oct 2024 20:45:24 +0800 Subject: [PATCH] fix(sitemap): add missing `xslURL` property to `SitemapOptions` type (#12156) --- .changeset/funny-onions-grin.md | 5 +++++ packages/integrations/sitemap/src/index.ts | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 .changeset/funny-onions-grin.md diff --git a/.changeset/funny-onions-grin.md b/.changeset/funny-onions-grin.md new file mode 100644 index 0000000000..902bcb1aee --- /dev/null +++ b/.changeset/funny-onions-grin.md @@ -0,0 +1,5 @@ +--- +'@astrojs/sitemap': patch +--- + +Adds missing `xslURL` property to `SitemapOptions` type. diff --git a/packages/integrations/sitemap/src/index.ts b/packages/integrations/sitemap/src/index.ts index 4342ed5dba..9bbd39e4a7 100644 --- a/packages/integrations/sitemap/src/index.ts +++ b/packages/integrations/sitemap/src/index.ts @@ -35,6 +35,8 @@ export type SitemapOptions = // called for each sitemap item just before to save them on disk, sync or async serialize?(item: SitemapItem): SitemapItem | Promise | undefined; + + xslURL?: string; } | undefined;