mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
feat: 🎨 export rss feeditem type (#7153)
This commit is contained in:
parent
f962348f76
commit
e17ed0727e
2 changed files with 6 additions and 1 deletions
5
.changeset/lemon-flies-smoke.md
Normal file
5
.changeset/lemon-flies-smoke.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@astrojs/rss': patch
|
||||
---
|
||||
|
||||
exposes RSSFeedItem type
|
|
@ -32,7 +32,7 @@ export type RSSOptions = {
|
|||
trailingSlash?: z.infer<typeof rssOptionsValidator>['trailingSlash'];
|
||||
};
|
||||
|
||||
type RSSFeedItem = {
|
||||
export type RSSFeedItem = {
|
||||
/** Link to item */
|
||||
link: string;
|
||||
/** Full content of the item. Should be valid HTML */
|
||||
|
|
Loading…
Reference in a new issue