diff --git a/types/react-native-custom-tabs/index.d.ts b/types/react-native-custom-tabs/index.d.ts index ed74ff4303..5e0754c546 100644 --- a/types/react-native-custom-tabs/index.d.ts +++ b/types/react-native-custom-tabs/index.d.ts @@ -19,4 +19,6 @@ export interface CustomTabsOptions { headers?: any; } -export function openURL(url: string, options?: CustomTabsOptions): Promise; +declare namespace CustomTabs { + function openURL(url: string, options?: CustomTabsOptions): Promise; +}