Skip to content

API Reference / @gtkx/config / mergeConfig

Variable: mergeConfig

const mergeConfig: (base, override) => Config

Defined in: config.d.ts:75

Deep-merges two configurations, with override taking precedence over base.

Parameters

base

Config

The lower-priority configuration.

override

Config

The higher-priority configuration whose values win on conflict.

Returns

Config

Released under the MPL-2.0 License.