Skip to main content

GetOptionIdentifierType<Opt>

GetOptionIdentifierType<Opt>: Opt extends Option<infer NameType> | ValueOption<infer NameType> ? NameType : string

Extracts the type of the identifying property from a BaseOption.

Type parameters

Type parameter
Opt extends BaseOption

Source

packages/react-querybuilder/src/types/options.ts:12


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.