mirror of
https://ark.sudovanilla.org/Korbs/electron-tabs.git
synced 2024-12-23 03:53:53 +00:00
Merge pull request #140 from jsbyysheng/master
Fix TypeScript compile error with Electron
This commit is contained in:
commit
969abae6a3
3
index.d.ts
vendored
3
index.d.ts
vendored
|
@ -1,5 +1,4 @@
|
||||||
import {EventEmitter} from 'events';
|
import {EventEmitter} from 'events';
|
||||||
import {WebviewTag} from 'electron';
|
|
||||||
|
|
||||||
declare class ElectronTabs extends EventEmitter {
|
declare class ElectronTabs extends EventEmitter {
|
||||||
constructor(options?: ElectronTabs.TabGroupOptions);
|
constructor(options?: ElectronTabs.TabGroupOptions);
|
||||||
|
@ -59,7 +58,7 @@ declare namespace ElectronTabs {
|
||||||
flash(shown?: boolean): void;
|
flash(shown?: boolean): void;
|
||||||
unflash(): void;
|
unflash(): void;
|
||||||
close(force?: boolean): void;
|
close(force?: boolean): void;
|
||||||
webview: WebviewTag;
|
webview: Electron.WebviewTag;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue