docs(): type of yes is boolean not string (#2290)

This commit is contained in:
Rory Standley 2018-01-25 11:18:18 +00:00 committed by Ibby Hadeed
parent 9ebd92ecb9
commit e4dd8dcb89

View File

@ -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')
* );
* ```
*/