diff --git a/.changeset/lemon-flies-smoke.md b/.changeset/lemon-flies-smoke.md new file mode 100644 index 000000000000..9755e27af0b2 --- /dev/null +++ b/.changeset/lemon-flies-smoke.md @@ -0,0 +1,5 @@ +--- +'@astrojs/rss': patch +--- + +exposes RSSFeedItem type diff --git a/packages/astro-rss/src/index.ts b/packages/astro-rss/src/index.ts index 2a35bd573c5f..47c7c1db42b3 100644 --- a/packages/astro-rss/src/index.ts +++ b/packages/astro-rss/src/index.ts @@ -32,7 +32,7 @@ export type RSSOptions = { trailingSlash?: z.infer['trailingSlash']; }; -type RSSFeedItem = { +export type RSSFeedItem = { /** Link to item */ link: string; /** Full content of the item. Should be valid HTML */