Skip to main content

Option<N extends string = string>

Option<N extends string = string> = Simplify<WithUnknownIndex<SetRequired<BaseOption<N>, "name">>>

Defined in: packages/core/src/types/options.ts:63

A generic option. Used directly in OptionList or as the child element of an OptionGroup.

Type Parameters​

Type ParameterDefault type
N extends stringstring

caution

API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.