refactor: improve typing

This commit is contained in:
Johannes Millan 2025-08-13 19:20:31 +02:00
parent fbc45de335
commit f077a6f719
15 changed files with 73 additions and 65 deletions

View file

@ -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) => {