mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 00:12:53 +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.
|
||||
*
|
||||
* @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()
|
||||
static isAuthorized(datatypes: Array<string>): Promise<any> {
|
||||
|
Loading…
Reference in New Issue
Block a user