diff --git a/src/@ionic-native/plugins/app-availability/index.ts b/src/@ionic-native/plugins/app-availability/index.ts index 4542998b8..367792294 100644 --- a/src/@ionic-native/plugins/app-availability/index.ts +++ b/src/@ionic-native/plugins/app-availability/index.ts @@ -27,8 +27,8 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; * * this.appAvailability.check(app) * .then( - * (yes: string) => console.log(app + ' is available'), - * (no: string) => console.log(app + ' is NOT available') + * (yes: boolean) => console.log(app + ' is available'), + * (no: boolean) => console.log(app + ' is NOT available') * ); * ``` */ diff --git a/src/@ionic-native/plugins/pro/index.ts b/src/@ionic-native/plugins/pro/index.ts index 5175b21dd..d0092130a 100644 --- a/src/@ionic-native/plugins/pro/index.ts +++ b/src/@ionic-native/plugins/pro/index.ts @@ -36,28 +36,21 @@ export interface DeployConfig { */ export class ProDeploy { - constructor(private _objectInstance: any) { - } + constructor(private _objectInstance: any) { } /** * Re-initialize Deploy plugin with a new App ID and host. Not used in most cases. * @param config A valid Deploy config object */ @CordovaInstance() - init(config: DeployConfig): Promise { - return; - } + init(config: DeployConfig): Promise { return; } /** * Check a channel for an available update * @return {Promise} Resolves with 'true' or 'false', or rejects with an error. */ - @CordovaInstance({ - observable: true - }) - check(): Promise { - return; - } + @CordovaInstance() + check(): Promise { return; } /** * Download an available version @@ -66,18 +59,16 @@ export class ProDeploy { @CordovaInstance({ observable: true }) - download(): Observable { - return; - } + download(): Observable { return; } /** * Unzip the latest downloaded version * @return {Observable} Updates with percent completion, or errors with a message. */ - @CordovaInstance() - extract(): Observable { - return; - } + @CordovaInstance({ + observable: true + }) + extract(): Observable { return; } /** * Reload app with the deployed version