diff --git a/types/downloadjs/index.d.ts b/types/downloadjs/index.d.ts index 0379de8395..7f9c7cae2d 100644 --- a/types/downloadjs/index.d.ts +++ b/types/downloadjs/index.d.ts @@ -1,10 +1,11 @@ // Type definitions for downloadjs 1.4 // Project: http://danml.com/download.html // Definitions by: cwmoo740 +// 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;