mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
rss: fix item enclosure optional property (#20164)
For item enclosures, it's _either_ a file _or_ a URL. The docs specify that one of the two is always optional, and the source code only mandates the `url`, and may ignore the `file`. https://www.npmjs.com/package/rss https://github.com/dylang/node-rss/blob/master/lib/index.js#L83
This commit is contained in:
committed by
Ryan Cavanaugh
parent
6a96efd84a
commit
bb778b7f6d
Vendored
+1
-1
@@ -90,7 +90,7 @@ declare namespace NodeRSS {
|
||||
/**
|
||||
* Path to binary file (or URL).
|
||||
*/
|
||||
file: string;
|
||||
file?: string;
|
||||
/**
|
||||
* Size of the file.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user