# ValidationResult

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

Defined in: [validate.ts:217](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/validate.ts#L217)

Result of validating a hotkey string.

## Properties

### errors

```ts
errors: HotkeyIssue[];
```

Defined in: [validate.ts:223](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/validate.ts#L223)

Problems that stop the hotkey from registering

***

### valid

```ts
valid: boolean;
```

Defined in: [validate.ts:219](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/validate.ts#L219)

Whether the hotkey is valid (can still have warnings)

***

### warnings

```ts
warnings: HotkeyIssue[];
```

Defined in: [validate.ts:221](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/validate.ts#L221)

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