mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
Changed count type from number to String
This commit is contained in:
@@ -45,10 +45,7 @@ export class WECapInbox extends AwesomeCordovaNativePlugin {
|
||||
* @returns {Promise<number>} - The count of notifications.
|
||||
*/
|
||||
@Cordova()
|
||||
getNotificationCount(
|
||||
successCallback: (count: number) => void, // TODO verify if it is string number
|
||||
errorCallback: (error: string) => void
|
||||
): Promise<any> {
|
||||
getNotificationCount(successCallback: (count: String) => void, errorCallback: (error: string) => void): Promise<any> {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user