diff --git a/index.d.ts b/index.d.ts index 613c21c..aca81c8 100644 --- a/index.d.ts +++ b/index.d.ts @@ -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;