Added id to interface Tab

Fixes TS2339: Property 'id' does not exist on type 'Tab'.
This commit is contained in:
beig 2018-11-23 13:20:53 +01:00 committed by GitHub
parent a4e87ae948
commit a003b522f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

1
index.d.ts vendored
View file

@ -43,6 +43,7 @@ declare namespace ElectronTabs {
}
export interface Tab extends EventEmitter {
id: number;
setTitle(title: string): void;
getTitle(): string;
setBadge(badge: string): void;