0
Fork 0
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:
Akash Rajpurohit 2023-05-22 18:50:10 +05:30 committed by GitHub
parent f962348f76
commit e17ed0727e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
'@astrojs/rss': patch
---
exposes RSSFeedItem type

View file

@ -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 */