0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-30 22:03:56 -05:00

fix(sitemap): add missing xslURL property to SitemapOptions type (#12156)

This commit is contained in:
Ming-jun Lu 2024-10-14 20:45:24 +08:00 committed by GitHub
parent a33804110d
commit 07754f5873
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View file

@ -0,0 +1,5 @@
---
'@astrojs/sitemap': patch
---
Adds missing `xslURL` property to `SitemapOptions` type.

View file

@ -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;