fix: NativeImage serialization of <webview>.capturePage() result (#20825)
This commit is contained in:
parent
c0657a4ca7
commit
1d596f616d
12 changed files with 67 additions and 44 deletions
1
typings/internal-electron.d.ts
vendored
1
typings/internal-electron.d.ts
vendored
|
@ -162,6 +162,7 @@ declare namespace ElectronInternal {
|
|||
|
||||
// Created in web-view-impl
|
||||
public getWebContentsId(): number;
|
||||
public capturePage(rect?: Electron.Rectangle): Promise<Electron.NativeImage>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue