TanStack
Normalization & format API Reference

ValidationResult

Defined in: validate.ts:172

Result of validating a hotkey string.

Properties

errors

ts
errors: string[];

Defined in: validate.ts:178

Error messages about invalid syntax


valid

ts
valid: boolean;

Defined in: validate.ts:174

Whether the hotkey is valid (can still have warnings)


warnings

ts
warnings: string[];

Defined in: validate.ts:176

Warning messages about potential issues