Skip to content

Commit e17ed07

Browse files
feat: 🎨 export rss feeditem type (#7153)
1 parent f962348 commit e17ed07

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/lemon-flies-smoke.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@astrojs/rss': patch
3+
---
4+
5+
exposes RSSFeedItem type

packages/astro-rss/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export type RSSOptions = {
3232
trailingSlash?: z.infer<typeof rssOptionsValidator>['trailingSlash'];
3333
};
3434

35-
type RSSFeedItem = {
35+
export type RSSFeedItem = {
3636
/** Link to item */
3737
link: string;
3838
/** Full content of the item. Should be valid HTML */

0 commit comments

Comments
 (0)