Skip to content

Commit

Permalink
feat: add WebContentsView since BrowserView is deprecated.
Browse files Browse the repository at this point in the history
Add new WebContentsView class as BrowserView is deprecated.
Ref: electron#198
  • Loading branch information
ductridev committed Oct 14, 2024
1 parent 6315f59 commit 315cb79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export {
export var app: Electron.App;
export var autoUpdater: Electron.AutoUpdater;
export var BrowserView: typeof Electron.BrowserView;
export var WebContentsView: typeof Electron.WebContentsView;
export var BrowserWindow: typeof Electron.BrowserWindow;
export var clipboard: Electron.Clipboard;
export var contentTracing: Electron.ContentTracing;
Expand Down

0 comments on commit 315cb79

Please sign in to comment.