Fix basic lint errors.

This commit is contained in:
Daniel Rosenwasser
2017-11-07 15:26:33 -08:00
committed by GitHub
parent 719aaaaa4d
commit 7d00f844de
+3 -3
View File
@@ -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;
}
}