From 74e68b4f1234803ff77e021ce68ee5d2264ab3f4 Mon Sep 17 00:00:00 2001 From: Phil Nova Date: Tue, 5 Jun 2018 15:56:19 -0700 Subject: [PATCH] Put openURL under CustomTabs namespace --- types/react-native-custom-tabs/index.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; +}