diff --git a/types/file-saver/index.d.ts b/types/file-saver/index.d.ts index a8249f8e09..6572daa86c 100644 --- a/types/file-saver/index.d.ts +++ b/types/file-saver/index.d.ts @@ -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; }