refactor: cleanup global variable declarations (#38410)
refactor: eliminate duplicate isolatedApi typing Co-authored-by: Milan Burda <miburda@microsoft.com>
This commit is contained in:
parent
2f8e68f8b3
commit
a043a60b89
3 changed files with 9 additions and 13 deletions
|
@ -1,6 +1,7 @@
|
|||
/* global isolatedApi */
|
||||
|
||||
import type * as webViewElementModule from '@electron/internal/renderer/web-view/web-view-element';
|
||||
import type { WebViewImplHooks } from '@electron/internal/renderer/web-view/web-view-impl';
|
||||
|
||||
declare const isolatedApi: WebViewImplHooks;
|
||||
|
||||
if (isolatedApi.guestViewInternal) {
|
||||
// Must setup the WebView element in main world.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue