diff --git a/src/@ionic-native/plugins/uptime/index.ts b/src/@ionic-native/plugins/uptime/index.ts index 1cab61051..5f405d8f0 100644 --- a/src/@ionic-native/plugins/uptime/index.ts +++ b/src/@ionic-native/plugins/uptime/index.ts @@ -1,5 +1,5 @@ -import {Injectable} from '@angular/core'; -import {Cordova, IonicNativePlugin, Plugin} from '@ionic-native/core'; +import { Injectable } from '@angular/core'; +import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; /** * @name Uptime @@ -15,8 +15,8 @@ import {Cordova, IonicNativePlugin, Plugin} from '@ionic-native/core'; * ... * * this.uptime.getUptime() - * .then((uptime: string) => console.log(uptime)) - * .catch((error: any) => console.log(error)); + * .then(uptime => console.log(uptime)) + * .catch(error => console.log(error)); * * ``` */