summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.changeset/lemon-flies-smoke.md5
-rw-r--r--packages/astro-rss/src/index.ts2
2 files changed, 6 insertions, 1 deletions
diff --git a/.changeset/lemon-flies-smoke.md b/.changeset/lemon-flies-smoke.md
new file mode 100644
index 000000000..9755e27af
--- /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 2a35bd573..47c7c1db4 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<typeof rssOptionsValidator>['trailingSlash'];
};
-type RSSFeedItem = {
+export type RSSFeedItem = {
/** Link to item */
link: string;
/** Full content of the item. Should be valid HTML */