From 9a68ea242c7cffd60dd143a6d6334b95aeb531db Mon Sep 17 00:00:00 2001 From: Ibby Date: Wed, 8 Mar 2017 05:44:56 -0500 Subject: [PATCH] docs(health): fix return type --- src/@ionic-native/plugins/health/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/@ionic-native/plugins/health/index.ts b/src/@ionic-native/plugins/health/index.ts index 2c3fb8d09..0128f082e 100644 --- a/src/@ionic-native/plugins/health/index.ts +++ b/src/@ionic-native/plugins/health/index.ts @@ -224,10 +224,10 @@ export class Health { * This function is similar to requestAuthorization() and has similar quirks. * * @param {Array} 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} Returns a promise that resolves with a boolean that indicates the authorization status */ @Cordova() - isAuthorized(datatypes: Array): Promise { return; } + isAuthorized(datatypes: Array): Promise { return; } /** * Gets all the data points of a certain data type within a certain time window.