mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-15 22:40:21 +00:00
Fix basic lint errors.
This commit is contained in:
Vendored
+3
-3
@@ -12,14 +12,14 @@ declare namespace FileSaver {
|
||||
* @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
|
||||
*/
|
||||
export function saveAs(data: Blob, filename?: string, disableAutoBOM?: boolean): void;
|
||||
function saveAs(data: Blob, filename?: string, disableAutoBOM?: boolean): void;
|
||||
}
|
||||
|
||||
declare global {
|
||||
const saveAs: typeof FileSaver.saveAs
|
||||
const saveAs: typeof FileSaver.saveAs;
|
||||
|
||||
interface Window {
|
||||
saveAs: typeof FileSaver.saveAs
|
||||
saveAs: typeof FileSaver.saveAs;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user