mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-30 18:43:21 +08:00
Merge pull request #16575 from huhuanming/jpush-react-native
Fix callback Value Type In setBage Func
This commit is contained in:
2
types/jpush-react-native/index.d.ts
vendored
2
types/jpush-react-native/index.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user