docs(): display interfaces

This commit is contained in:
Ibby 2016-12-06 09:11:09 -05:00
parent e522a25968
commit 1976c38dc7

View File

@ -173,6 +173,10 @@ export interface FileTransferError {
* cd files
* ls
* ```
* @interfaces
* FileUploadOptions
* FileUploadResult
* FileTransferError
*/
@Plugin({
pluginName: 'FileTransfer',
@ -219,7 +223,7 @@ export class Transfer {
successIndex: 2,
errorIndex: 3
})
upload(fileUrl: string, url: string, options?: FileUploadOptions, trustAllHosts?: boolean): Promise<FileUploadResult> {
upload(fileUrl: string, url: string, options?: FileUploadOptions, trustAllHosts?: boolean): Promise<FileUploadResult | FileTransferError> {
return;
}