Skip to content

Commit

Permalink
fix(sitemap): add missing xslURL property to SitemapOptions type (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mingjunlu authored Oct 14, 2024
1 parent a338041 commit 07754f5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/funny-onions-grin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@astrojs/sitemap': patch
---

Adds missing `xslURL` property to `SitemapOptions` type.
2 changes: 2 additions & 0 deletions packages/integrations/sitemap/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<SitemapItem | undefined> | undefined;

xslURL?: string;
}
| undefined;

Expand Down

0 comments on commit 07754f5

Please sign in to comment.