Skip to main content

ToFullOption<Opt extends BaseOption>

ToFullOption<Opt extends BaseOption> = Opt extends BaseFullOption ? Opt : Opt extends BaseOption<infer IdentifierType> ? WithUnknownIndex<Opt & FullOption<IdentifierType>> : never

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

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

Type Parameters​

Type Parameter
Opt extends BaseOption

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.