Function: shallowMergeConfig()
shallowMergeConfig<
T
>(config
,overrides
?):T
The default merge strategy for plan configuration is a shallow merge.
Type Parameters
• T extends PlanConfigBase
Parameters
• config: T
A full config
• overrides?: Partial
<T
>
A partial config of overrides
Returns
T
config if there are no overrides, otherwise {...config, ...overrides}
Defined in
lexical-builder-core/dist/shallowMergeConfig.d.ts:9