mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 17:51:46 +00:00
Fix download function return type
This commit is contained in:
Vendored
+2
-1
@@ -1,10 +1,11 @@
|
||||
// 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, filename?: string, mimeType?: string): void;
|
||||
declare function download(data: string | File | Blob, filename?: string, mimeType?: string): XMLHttpRequest | boolean;
|
||||
export = download;
|
||||
|
||||
Reference in New Issue
Block a user