From a003b522f257c47810cbce373af9b60f1d56c1c3 Mon Sep 17 00:00:00 2001 From: beig Date: Fri, 23 Nov 2018 13:20:53 +0100 Subject: [PATCH] Added id to interface Tab Fixes TS2339: Property 'id' does not exist on type 'Tab'. --- index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/index.d.ts b/index.d.ts index d93eae8..613c21c 100644 --- a/index.d.ts +++ b/index.d.ts @@ -43,6 +43,7 @@ declare namespace ElectronTabs { } export interface Tab extends EventEmitter { + id: number; setTitle(title: string): void; getTitle(): string; setBadge(badge: string): void;