Skip to content

Commit be723d9

Browse files
authored
Fix return type on setup
Setup returns a boolean
1 parent 8bdddcc commit be723d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ declare module 'react-native-callkeep' {
4545

4646
static removeEventListener(type: Events): void
4747

48-
static setup(options: IOptions): Promise<void>
48+
static setup(options: IOptions): Promise<boolean>
4949

5050
static hasDefaultPhoneAccount(): boolean
5151

0 commit comments

Comments
 (0)