fix(file-transfer): fix return type of upload method

fixes #1002
This commit is contained in:
Ibby 2017-01-26 20:30:44 -05:00
parent cb7d3ef3e0
commit a5b4632ceb

View File

@ -223,7 +223,7 @@ export class Transfer {
successIndex: 2,
errorIndex: 3
})
upload(fileUrl: string, url: string, options?: FileUploadOptions, trustAllHosts?: boolean): Promise<FileUploadResult | FileTransferError> {
upload(fileUrl: string, url: string, options?: FileUploadOptions, trustAllHosts?: boolean): Promise<FileUploadResult> {
return;
}