Skip to content

API Reference / @gtkx/config / index / mergeConfig

Variable: mergeConfig

const mergeConfig: (base, override) => Config

Defined in: config.d.ts:352

Deep-merges a configuration over a base. override wins over base on conflicting scalar and object keys, while arrays are concatenated with the override entries first.

Parameters

base

Config

override

Config

Returns

Config

Released under the MPL-2.0 License.