Skip to content

Commit

Permalink
docs(): type of yes is boolean not string (#2290)
Browse files Browse the repository at this point in the history
  • Loading branch information
rorystandley authored and ihadeed committed Jan 25, 2018
1 parent 9ebd92e commit e4dd8dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/@ionic-native/plugins/app-availability/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ import { Cordova, Plugin, IonicNativePlugin } 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')
* );
* ```
*/
Expand Down

0 comments on commit e4dd8dc

Please sign in to comment.