Skip to main content

ToFlexibleOption<Opt>

ToFlexibleOption<Opt> = WithUnknownIndex<RequireAtLeastOne<Opt extends string ? FlexibleOption<Opt> : Opt, "name" | "value">>

Defined in: packages/react-querybuilder/src/types/options.ts:87

Utility type to turn an Option, ValueOption, or BaseOption into a FlexibleOption.

Type Parameters

Type Parameter
Opt extends BaseOption | string

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.