mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-17 00:51:07 +08:00
fix(health): fix return type
This commit is contained in:
parent
5880491c0e
commit
0f8c3ce376
@ -212,7 +212,7 @@ export class Health {
|
|||||||
* This function is similar to requestAuthorization() and has similar quirks.
|
* This function is similar to requestAuthorization() and has similar quirks.
|
||||||
*
|
*
|
||||||
* @param {Array<String>} datatypes a list of data types you want to be granted access to
|
* @param {Array<String>} datatypes a list of data types you want to be granted access to
|
||||||
* @return {type: function(authorized)}, if the argument is true, the app is authorized
|
* @return {Promise<any>}
|
||||||
*/
|
*/
|
||||||
@Cordova()
|
@Cordova()
|
||||||
static isAuthorized(datatypes: Array<string>): Promise<any> {
|
static isAuthorized(datatypes: Array<string>): Promise<any> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user