# OpenVocab<V>

> A field that recommends the values V but accepts any string (free text or an x- prefixed extension). The string & {} arm keeps editor autocomplete for V — a plain V | string collapses to string.

> **OpenVocab**\<`V`\> = `V` \| `string` & `object`

A field that recommends the values `V` but accepts any string (free text or
an `x-` prefixed extension). The `string & {}` arm keeps editor
autocomplete for `V` — a plain `V | string` collapses to `string`.

## Type Parameters

### V

`V` *extends* `string`
