File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ ' @astrojs/rss ' : patch
3+ ---
4+
5+ Fixes an issue where the ` pagesGlobToRssItems ` returned an incorrect type for ` items `
Original file line number Diff line number Diff line change @@ -32,13 +32,13 @@ export type RSSOptions = {
3232
3333export type RSSFeedItem = {
3434 /** Link to item */
35- link : z . infer < typeof rssSchema > [ 'link' ] ;
35+ link ? : z . infer < typeof rssSchema > [ 'link' ] ;
3636 /** Full content of the item. Should be valid HTML */
3737 content ?: z . infer < typeof rssSchema > [ 'content' ] ;
3838 /** Title of item */
39- title : z . infer < typeof rssSchema > [ 'title' ] ;
39+ title ? : z . infer < typeof rssSchema > [ 'title' ] ;
4040 /** Publication date of item */
41- pubDate : z . infer < typeof rssSchema > [ 'pubDate' ] ;
41+ pubDate ? : z . infer < typeof rssSchema > [ 'pubDate' ] ;
4242 /** Item description */
4343 description ?: z . infer < typeof rssSchema > [ 'description' ] ;
4444 /** Append some other XML-valid data to this item */
You can’t perform that action at this time.
0 commit comments