diff --git a/core/src/core-plugin-definitions.ts b/core/src/core-plugin-definitions.ts index 4de4f7f430..a4c89d42a5 100644 --- a/core/src/core-plugin-definitions.ts +++ b/core/src/core-plugin-definitions.ts @@ -269,11 +269,11 @@ export interface BrowserPlugin extends Plugin { addListener( eventName: 'browserFinished', - listenerFunc: (info: any) => void, + listenerFunc: (info: BrowserInfo) => void, ): PluginListenerHandle; addListener( eventName: 'browserPageLoaded', - listenerFunc: (info: any) => void, + listenerFunc: (info: BrowserInfo) => void, ): PluginListenerHandle; /** * Remove all native listeners for this plugin @@ -281,6 +281,8 @@ export interface BrowserPlugin extends Plugin { removeAllListeners(): void; } +export interface BrowserInfo {} + export interface BrowserOpenOptions { /** * The URL to open the browser to