Skip to main content

WithRequired<T, K>

WithRequired<T, K>: T & { [P in K]-?: T[P] }

Utility type to make one or more properties required.

Type parameters

Type parameter
T
K extends keyof T

Source

packages/react-querybuilder/src/types/basic.ts:189


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.