fix: [webview] fix missing properties on events when contextIsolation: true (#26289)
This commit is contained in:
parent
c856b5fa53
commit
34156c424c
5 changed files with 51 additions and 24 deletions
2
typings/internal-electron.d.ts
vendored
2
typings/internal-electron.d.ts
vendored
|
@ -254,7 +254,7 @@ declare namespace ElectronInternal {
|
|||
loader: ModuleLoader;
|
||||
}
|
||||
|
||||
interface WebFrameResizeEvent extends Electron.Event {
|
||||
interface WebFrameResizeEvent extends WebViewEvent {
|
||||
newWidth: number;
|
||||
newHeight: number;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue