mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
refactor: improve typing
This commit is contained in:
parent
fbc45de335
commit
f077a6f719
15 changed files with 73 additions and 65 deletions
|
|
@ -97,7 +97,12 @@ export const initDebug = (
|
|||
}
|
||||
|
||||
if (opts.devToolsMode !== 'previous' && opts.devToolsMode) {
|
||||
devToolsOptions.mode = opts.devToolsMode as 'bottom' | 'left' | 'right' | 'undocked' | 'detach';
|
||||
devToolsOptions.mode = opts.devToolsMode as
|
||||
| 'bottom'
|
||||
| 'left'
|
||||
| 'right'
|
||||
| 'undocked'
|
||||
| 'detach';
|
||||
}
|
||||
|
||||
app.on('browser-window-created', (event, win) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue