DefinitelyTyped/types/downloadjs/index.d.ts
Jason Long b75757e463
downloadjs - Add Uint8Array as input type (#43880)
* Add UintArray8 as input type for downloadjs

* Add test

* Uint8Array

* Uint8Array
2020-04-27 10:52:21 -04:00

12 lines
483 B
TypeScript

// Type definitions for downloadjs 1.4
// Project: http://danml.com/download.html
// Definitions by: cwmoo740 <https://github.com/cwmoo740>
// josuedevmark <https://github.com/josuedevmark>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2
declare namespace download {
}
declare function download(data: string | File | Blob | Uint8Array, filename?: string, mimeType?: string): XMLHttpRequest | boolean;
export = download;