mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
refactor(lib): run prettier
This commit is contained in:
@@ -28,7 +28,7 @@ import { Observable } from 'rxjs';
|
||||
plugin: 'cordova-plugin-ftp',
|
||||
pluginRef: 'cordova.plugin.ftp',
|
||||
repo: 'https://github.com/xfally/cordova-plugin-ftp',
|
||||
platforms: ['Android', 'iOS']
|
||||
platforms: ['Android', 'iOS'],
|
||||
})
|
||||
@Injectable()
|
||||
export class FTP extends IonicNativePlugin {
|
||||
@@ -110,7 +110,7 @@ export class FTP extends IonicNativePlugin {
|
||||
* The arg `0`, `0.1xx`, `0.2xx` ... `1` means the upload percent. When it reach `1`, means success.
|
||||
*/
|
||||
@Cordova({
|
||||
observable: true
|
||||
observable: true,
|
||||
})
|
||||
upload(localFile: string, remoteFile: string): Observable<any> {
|
||||
return;
|
||||
@@ -126,7 +126,7 @@ export class FTP extends IonicNativePlugin {
|
||||
* The arg `0`, `0.1xx`, `0.2xx` ... `1` means the upload percent. When it reach `1`, means success.
|
||||
*/
|
||||
@Cordova({
|
||||
observable: true
|
||||
observable: true,
|
||||
})
|
||||
download(localFile: string, remoteFile: string): Observable<any> {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user