-
-
Notifications
You must be signed in to change notification settings - Fork 216
Closed as not planned
Description
Describe the bug
copyright and id are required in the typings for FeedOptions (equivalent to "channel" in the RSS 2.0 spec):
Lines 48 to 67 in fd77835
| export interface FeedOptions { | |
| id: string; | |
| title: string; | |
| updated?: Date; | |
| generator?: string; | |
| language?: string; | |
| ttl?: number; | |
| feed?: string; | |
| feedLinks?: any; | |
| hub?: string; | |
| docs?: string; | |
| author?: Author; | |
| link?: string; | |
| description?: string; | |
| image?: string; | |
| favicon?: string; | |
| copyright: string; | |
| } |
Expected behavior
They shouldn't be required. The only required channel elements are title, link and description (source).
Actual behavior
They're required and the TS compiler complains if they're left out.
Versions (please complete the following information):
(n/a)
Additional context
Is this because we need them for anything else than building the actual RSS channel? Happy to make a PR fixing this if it's unintended.
erbridge, paul-uz, soykje, jakubsobel, realtomaszkula and 3 more
Metadata
Metadata
Assignees
Labels
No labels