File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ type InAppBrowserOptions = {
3535 endEnter : string ,
3636 endExit : string
3737 } ,
38- headers ?: { [ string ] : string }
38+ headers ?: { [ key : string ] : string }
3939}
4040
4141async function open ( url : string , options : InAppBrowserOptions = { } ) : Promise < BrowserResult > {
@@ -120,7 +120,8 @@ function _waitForRedirectAsync(returnUrl: string): Promise<RedirectResult> {
120120 } ) ;
121121}
122122
123- async function isAvailable ( ) : Promise < void > {
123+ async function isAvailable ( ) :
124+ Promise < boolean > {
124125 if ( Platform . OS === 'android' ) {
125126 return Promise . resolve ( true ) ;
126127 }
Original file line number Diff line number Diff line change 11{
22 "name" : " react-native-inappbrowser-reborn" ,
3- "version" : " 2.0.0 " ,
3+ "version" : " 2.0.1 " ,
44 "description" : " InAppBrowser for React Native" ,
55 "main" : " index.js" ,
66 "readmeFilename" : " README.md" ,
You can’t perform that action at this time.
0 commit comments