Commit graph

6 commits

Author SHA1 Message Date
mcmics a97406d712
fixes #146: add once to EventEmitter 2022-03-23 20:44:55 +01:00
jsbyysheng 6224992453
Fix TypeScript compile error with Electron
`WebviewTag` is no longer defined in `electron` module, fix for 
```
node_modules/electron-tabs/index.d.ts:2:9 - error TS2305: Module '"electron"' has no exported member 'WebviewTag'.

2 import {WebviewTag} from 'electron';
```
2022-03-06 12:54:03 +08:00
Thomas Brouard eeeebd41ce Fix type: getTab(id: number) 2018-11-27 12:28:48 +01:00
beig a003b522f2
Added id to interface Tab
Fixes TS2339: Property 'id' does not exist on type 'Tab'.
2018-11-23 13:20:53 +01:00
avocadianmage 9fd13e8f67 add 'declares' to typescript declaration file 2018-08-31 22:12:55 -05:00
Oleg Vaskevich 519d54cb75
Add TypeScript types 2018-06-17 14:59:48 -07:00