mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-31 19:12:20 +08:00
Put openURL under CustomTabs namespace
This commit is contained in:
4
types/react-native-custom-tabs/index.d.ts
vendored
4
types/react-native-custom-tabs/index.d.ts
vendored
@@ -19,4 +19,6 @@ export interface CustomTabsOptions {
|
||||
headers?: any;
|
||||
}
|
||||
|
||||
export function openURL(url: string, options?: CustomTabsOptions): Promise<boolean>;
|
||||
declare namespace CustomTabs {
|
||||
function openURL(url: string, options?: CustomTabsOptions): Promise<boolean>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user