From 3d0a12d40dba20a5632416476b9231b67d17bda6 Mon Sep 17 00:00:00 2001 From: Rene Escobar Date: Thu, 5 Oct 2017 23:21:34 -0400 Subject: [PATCH] refactor(): update return value in hasPermission() (#2023) --- src/@ionic-native/plugins/firebase/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/@ionic-native/plugins/firebase/index.ts b/src/@ionic-native/plugins/firebase/index.ts index 5de48ee9d..11906fc1c 100644 --- a/src/@ionic-native/plugins/firebase/index.ts +++ b/src/@ionic-native/plugins/firebase/index.ts @@ -71,10 +71,10 @@ export class Firebase extends IonicNativePlugin { /** * Check permission to receive push notifications - * @return {Promise} + * @return {Promise<{isEnabled: boolean}>} */ @Cordova() - hasPermission(): Promise { return; } + hasPermission(): Promise<{isEnabled: boolean}> { return; } /** * Set icon badge number. Set to 0 to clear the badge.