Use PartialRecord type

This commit is contained in:
redphx
2024-12-23 05:38:01 +07:00
parent 7b60ba3a3e
commit 560a4c309c
5 changed files with 10 additions and 10 deletions

View File

@@ -19,7 +19,7 @@ export class ControllerShortcutsManagerDialog extends BaseProfileManagerDialog<C
// private readonly LOG_TAG = 'ControllerShortcutsManagerDialog';
protected $content: HTMLElement;
private selectActions: Partial<Record<GamepadKey, HTMLSelectElement>> = {};
private selectActions: PartialRecord<GamepadKey, HTMLSelectElement> = {};
protected readonly BLANK_PRESET_DATA = {
mapping: {},