Skip to content

Commit 66dd631

Browse files
authored
Update index.d.ts isAvailable class method return type
Updated typing to coincide with the update to make `isAvailable` return a boolean: c3a95da
1 parent fdfa51b commit 66dd631

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
@@ -46,7 +46,7 @@ declare module 'react-native-inappbrowser-reborn' {
4646
options?: InAppBrowserOptions,
4747
) => Promise<AuthSessionResult>;
4848
closeAuth: () => void;
49-
isAvailable: () => Promise<void>;
49+
isAvailable: () => boolean;
5050
}
5151

5252
const RNInAppBrowser: RNInAppBrowserClassMethods;

0 commit comments

Comments
 (0)