Merge pull request #140 from jsbyysheng/master
Fix TypeScript compile error with Electron
This commit is contained in:
commit
969abae6a3
1 changed files with 1 additions and 2 deletions
3
index.d.ts
vendored
3
index.d.ts
vendored
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue