perf: use type-utils for desktopCapturer.getSources() result serialization (#23549)

This commit is contained in:
Milan Burda 2020-05-13 19:05:53 +02:00 committed by GitHub
parent 508c7ac4f9
commit 85fae67966
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 22 deletions

View file

@ -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> {