You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WetHat
changed the title
Incomplete type declaration in interface FeedEntry for property title
Incomplete type declaration in interface FeedData for property descriptionJun 14, 2024
My mistake, sorry. I had this issue a while ago (build error) and remembered it had to do with an element attribute. When I looked at the xml file I did not find the description element and thought it must have been the title. I totally missed the point that this is an ATOM feed that the extractor returns the subtitle as feed description. However, the feed description is an object and not a string (see screenshot).
In the interface
FeedData
the propertydecription
is declared as:However sometimes the
description
element in the parsed RSS feed is returned as object:To accurately reflect this situation the
FeedData
interface could be changed like so:Alternatively, the extractor could desctructure the
description
element and just return the string.feed.zip
The text was updated successfully, but these errors were encountered: