mirror of
https://ark.sudovanilla.org/Korbs/electron-tabs.git
synced 2024-12-22 19:43:53 +00:00
Fix type: getTab(id: number)
This commit is contained in:
parent
8c1717503a
commit
eeeebd41ce
2
index.d.ts
vendored
2
index.d.ts
vendored
|
@ -4,7 +4,7 @@ import {WebviewTag} from 'electron';
|
|||
declare class ElectronTabs extends EventEmitter {
|
||||
constructor(options?: ElectronTabs.TabGroupOptions);
|
||||
addTab(options?: ElectronTabs.TabOptions): ElectronTabs.Tab;
|
||||
getTab(id: string): ElectronTabs.Tab | null;
|
||||
getTab(id: number): ElectronTabs.Tab | null;
|
||||
getTabByPosition(position: number): ElectronTabs.Tab | null;
|
||||
getTabByRelPosition(position: number): ElectronTabs.Tab | null;
|
||||
getActiveTab(): ElectronTabs.Tab | null;
|
||||
|
|
Loading…
Reference in a new issue