From 10d4e8e94d398a989085b126c6ee1b07edab6dce Mon Sep 17 00:00:00 2001 From: Akshay Date: Wed, 21 Aug 2024 19:08:18 +0530 Subject: [PATCH] Changed count type from number to String --- src/@awesome-cordova-plugins/plugins/we-cap-inbox/index.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/@awesome-cordova-plugins/plugins/we-cap-inbox/index.ts b/src/@awesome-cordova-plugins/plugins/we-cap-inbox/index.ts index c69488459..642d71222 100644 --- a/src/@awesome-cordova-plugins/plugins/we-cap-inbox/index.ts +++ b/src/@awesome-cordova-plugins/plugins/we-cap-inbox/index.ts @@ -45,10 +45,7 @@ export class WECapInbox extends AwesomeCordovaNativePlugin { * @returns {Promise} - The count of notifications. */ @Cordova() - getNotificationCount( - successCallback: (count: number) => void, // TODO verify if it is string number - errorCallback: (error: string) => void - ): Promise { + getNotificationCount(successCallback: (count: String) => void, errorCallback: (error: string) => void): Promise { return; }