Merge pull request #140 from jsbyysheng/master

Fix TypeScript compile error with Electron
This commit is contained in:
Thomas Brouard 2022-03-07 10:30:24 +01:00 committed by GitHub
commit 969abae6a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

3
index.d.ts vendored
View file

@ -1,5 +1,4 @@
import {EventEmitter} from 'events';
import {WebviewTag} from 'electron';
declare class ElectronTabs extends EventEmitter {
constructor(options?: ElectronTabs.TabGroupOptions);
@ -59,7 +58,7 @@ declare namespace ElectronTabs {
flash(shown?: boolean): void;
unflash(): void;
close(force?: boolean): void;
webview: WebviewTag;
webview: Electron.WebviewTag;
}
}