Lynx

Home > @lynx-js/genui-a2ui > mergeCatalogs

mergeCatalogs() function

Merge multiple catalogs. Last write wins on duplicate names — useful when a page-level catalog overrides a brand-level one which overrides built-ins.

Signature:

export declare function mergeCatalogs(...catalogs: Catalog[]): Catalog;

Parameters

Parameter

Type

Description

catalogs

Catalog[]

Returns:

Catalog

Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.