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
Copy file name to clipboardExpand all lines: lib/types.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@
16
16
* @property {string} [description] Short description of the channel (example: `Album Reviews`). You *should* define this.
17
17
* @property {string} [lang] BCP 47 language tag representing the language of the whole channel (example: `'fr-BE'`). You *should* define this.
18
18
* @property {string|Author} [author] Optional author of the whole channel. Either `string`, in which case it’s as passing `{name: string}`. Or an author object.
19
-
* @property {Array.<string>} [tags] Categories of the channel (example: `['JavaScript', 'React']`).
19
+
* @property {Array<string>} [tags] Categories of the channel (example: `['JavaScript', 'React']`).
20
20
*
21
21
* @typedef Entry Data on a single item.
22
22
* @property {string} [title] Title of the item (example: `'Playboi Carti: Whole Lotta Red'`). Either `title`, `description`, or `descriptionHtml` must be set.
@@ -26,7 +26,7 @@
26
26
* @property {string} [url] Full URL of this entry on the *site* (example: `'https://pitchfork.com/reviews/albums/roberta-flack-first-take'`).
27
27
* @property {Date|number|string} [published] When the entry was first published (`Date` or value for `new Date(x)`, optional).
28
28
* @property {Date|number|string} [modified] When the entry was last modified (`Date` or value for `new Date(x)`, optional).
29
-
* @property {Array.<string>} [tags] Categories of the entry (`Array.<string>?`, example: `['laravel', 'debugging']`).
29
+
* @property {Array<string>} [tags] Categories of the entry (`Array<string>?`, example: `['laravel', 'debugging']`).
30
30
* @property {Enclosure} [enclosure] Attached media
0 commit comments