TanStack
Normalization & format API Reference

ValidationResult

Defined in: validate.ts:209

Result of validating a hotkey string.

Properties

errors

ts
errors: string[];

Defined in: validate.ts:215

Error messages about invalid syntax


valid

ts
valid: boolean;

Defined in: validate.ts:211

Whether the hotkey is valid (can still have warnings)


warnings

ts
warnings: string[];

Defined in: validate.ts:213

Warning messages about potential issues