Updated @param disableAutoBOM (#29359)

Removed "don't" since it doesn't reflect the official documentation.

see -> https://github.com/eligrey/FileSaver.js/#syntax
This commit is contained in:
William Robertson
2018-10-08 19:20:13 +02:00
committed by Andy
parent 54685bf955
commit 470a368da5

View File

@@ -10,7 +10,7 @@ declare namespace FileSaver {
* FileSaver.js implements the saveAs() FileSaver interface in browsers that do not natively support it.
* @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
* @param disableAutoBOM - Optional & defaults to `false`. Set to `true` if you want FileSaver.js to automatically provide Unicode text encoding hints
*/
function saveAs(data: Blob, filename?: string, disableAutoBOM?: boolean): void;
}