Merge pull request #16575 from huhuanming/jpush-react-native

Fix callback Value Type In setBage Func
This commit is contained in:
Arthur Ozga
2017-05-18 13:37:58 -07:00
committed by GitHub

View File

@@ -118,5 +118,5 @@ export default class JPush {
/**
* iOS
*/
static setBadge(badge: number, callback: (badges: number[]) => void): void;
static setBadge(badge: number, callback: (isSuccess: boolean) => void): void;
}