mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-29 01:45:49 +08:00
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:
2
types/file-saver/index.d.ts
vendored
2
types/file-saver/index.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user