Added id to interface Tab
Fixes TS2339: Property 'id' does not exist on type 'Tab'.
This commit is contained in:
parent
a4e87ae948
commit
a003b522f2
1 changed files with 1 additions and 0 deletions
1
index.d.ts
vendored
1
index.d.ts
vendored
|
@ -43,6 +43,7 @@ declare namespace ElectronTabs {
|
|||
}
|
||||
|
||||
export interface Tab extends EventEmitter {
|
||||
id: number;
|
||||
setTitle(title: string): void;
|
||||
getTitle(): string;
|
||||
setBadge(badge: string): void;
|
||||
|
|
Loading…
Reference in a new issue