Skip to content

Commit

Permalink
feat: 🎨 export rss feeditem type (#7153)
Browse files Browse the repository at this point in the history
  • Loading branch information
AkashRajpurohit authored May 22, 2023
1 parent f962348 commit e17ed07
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/lemon-flies-smoke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@astrojs/rss': patch
---

exposes RSSFeedItem type
2 changes: 1 addition & 1 deletion packages/astro-rss/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit e17ed07

Please sign in to comment.