perf: use type-utils for desktopCapturer.getSources() result serialization (#23549)
This commit is contained in:
parent
508c7ac4f9
commit
85fae67966
5 changed files with 11 additions and 22 deletions
4
typings/internal-electron.d.ts
vendored
4
typings/internal-electron.d.ts
vendored
|
@ -123,9 +123,9 @@ declare namespace ElectronInternal {
|
|||
interface GetSourcesResult {
|
||||
id: string;
|
||||
name: string;
|
||||
thumbnail: string;
|
||||
thumbnail: Electron.NativeImage;
|
||||
display_id: string;
|
||||
appIcon: string | null;
|
||||
appIcon: Electron.NativeImage | null;
|
||||
}
|
||||
|
||||
interface KeyWeakMap<K, V> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue