Skip to content

Commit 07754f5

Browse files
authored
fix(sitemap): add missing xslURL property to SitemapOptions type (#12156)
1 parent a338041 commit 07754f5

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changeset/funny-onions-grin.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@astrojs/sitemap': patch
3+
---
4+
5+
Adds missing `xslURL` property to `SitemapOptions` type.

packages/integrations/sitemap/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ export type SitemapOptions =
3535

3636
// called for each sitemap item just before to save them on disk, sync or async
3737
serialize?(item: SitemapItem): SitemapItem | Promise<SitemapItem | undefined> | undefined;
38+
39+
xslURL?: string;
3840
}
3941
| undefined;
4042

0 commit comments

Comments
 (0)