docs(): display interfaces
This commit is contained in:
parent
e522a25968
commit
1976c38dc7
@ -173,6 +173,10 @@ export interface FileTransferError {
|
|||||||
* cd files
|
* cd files
|
||||||
* ls
|
* ls
|
||||||
* ```
|
* ```
|
||||||
|
* @interfaces
|
||||||
|
* FileUploadOptions
|
||||||
|
* FileUploadResult
|
||||||
|
* FileTransferError
|
||||||
*/
|
*/
|
||||||
@Plugin({
|
@Plugin({
|
||||||
pluginName: 'FileTransfer',
|
pluginName: 'FileTransfer',
|
||||||
@ -219,7 +223,7 @@ export class Transfer {
|
|||||||
successIndex: 2,
|
successIndex: 2,
|
||||||
errorIndex: 3
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user