mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00: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