Skip to main content

mergeTranslations()

mergeTranslations(base: Partial<Translations>, ...otherTranslations: (undefined | Partial<Translations>)[]): Partial<Translations>

Merges any number of partial Translations into a single definition.

Parameters

ParameterType
basePartial<Translations>
...otherTranslations(undefined | Partial<Translations>)[]

Returns

Partial<Translations>

Defined in

packages/react-querybuilder/src/utils/mergeTranslations.ts:10


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.