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 committed 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
@@ -0,0 +1,5 @@
---
'@astrojs/rss': patch
---

exposes RSSFeedItem type
2 changes: 1 addition & 1 deletion packages/astro-rss/src/index.ts
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.