Skip to content
Normalization & format API Reference

ValidationResult

Defined in: validate.ts:212

Result of validating a hotkey string.

Properties

errors

ts
errors: HotkeyIssue[];

Defined in: validate.ts:218

Problems that stop the hotkey from registering


valid

ts
valid: boolean;

Defined in: validate.ts:214

Whether the hotkey is valid (can still have warnings)


warnings

ts
warnings: HotkeyIssue[];

Defined in: validate.ts:216

Problems that may stop the hotkey from firing, such as an unknown key