Skip to content

Commit

Permalink
fix(file-transfer): fix return type of upload method
Browse files Browse the repository at this point in the history
fixes #1002
  • Loading branch information
ihadeed committed Jan 27, 2017
1 parent cb7d3ef commit a5b4632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/filetransfer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit a5b4632

Please sign in to comment.