Remove redundant type info in JSDocs

This commit is contained in:
Chris Barr
2017-11-02 11:08:55 -04:00
parent 8c29a73096
commit e9a71db761
+3 -3
View File
@@ -8,9 +8,9 @@
declare namespace FileSaver {
/**
* FileSaver.js implements the saveAs() FileSaver interface in browsers that do not natively support it.
* @param {Blob} data - The actual file data blob.
* @param {string} filename - The optional name of the file to be downloaded. If omitted, the name used in the file data will be used. If none is provided "download" will be used.
* @param {boolean} disableAutoBOM - Optional & defaults to `false`. Set to `true` if you don't want FileSaver.js to automatically provide Unicode text encoding hints
* @param data - The actual file data blob.
* @param filename - The optional name of the file to be downloaded. If omitted, the name used in the file data will be used. If none is provided "download" will be used.
* @param disableAutoBOM - Optional & defaults to `false`. Set to `true` if you don't want FileSaver.js to automatically provide Unicode text encoding hints
*/
type saveAs = (data: Blob, filename?: string, disableAutoBOM?: boolean) => void;
}