diff --git a/types/react-native-custom-tabs/react-native-custom-tabs-tests.ts b/types/react-native-custom-tabs/react-native-custom-tabs-tests.ts index 86dad3b3ee..f300f79d35 100644 --- a/types/react-native-custom-tabs/react-native-custom-tabs-tests.ts +++ b/types/react-native-custom-tabs/react-native-custom-tabs-tests.ts @@ -7,4 +7,4 @@ const rnt: ReactNativeCustomTabs.CustomTabsOptions = { enableDefaultShare: true, }; -const url: Promise = ReactNativeCustomTabs.openURL('testurl.com', rnt); +const url: Promise = ReactNativeCustomTabs.CustomTabs.openURL('testurl.com', rnt);