diff --git a/types/dropbox_types.d.ts b/types/dropbox_types.d.ts index 0023a191..b9b77f5e 100644 --- a/types/dropbox_types.d.ts +++ b/types/dropbox_types.d.ts @@ -2038,6 +2038,10 @@ rev?: Rev; } + export interface DownloadResult extends FileMetadata { + fileBinary: Buffer + } + export interface DownloadErrorPath { '.tag': 'path'; path: LookupError; diff --git a/types/index.d.ts b/types/index.d.ts index b6a073b5..f023b823 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -936,7 +936,7 @@ export class Dropbox { * DropboxResponseError. * @param arg The request parameters. */ - public filesDownload(arg: files.DownloadArg): Promise>; + public filesDownload(arg: files.DownloadArg): Promise>; /** * Download a folder from the user's Dropbox, as a zip file. The folder must