simplify type

pull/2640/head
Mikael Finstad 8 months ago
parent 251121b4bf
commit 251121c05f
No known key found for this signature in database
GPG Key ID: 25AB36E3E81CBC26

@ -1934,7 +1934,7 @@ function App() {
seekAccelerationRef.current *= keyboardSeekAccFactor;
}
const ret: Record<MainKeyboardAction, (() => boolean) | (() => void)> = {
const ret: Record<MainKeyboardAction, () => void> = {
// NOTE: Do not change these keys because users have bound keys by these names in their config files
// For actions, see also KeyboardShortcuts.jsx
togglePlayNoResetSpeed: () => togglePlay(),

Loading…
Cancel
Save