Fix type: getTab(id: number)
This commit is contained in:
parent
8c1717503a
commit
eeeebd41ce
1 changed files with 1 additions and 1 deletions
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