Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 900 Bytes

types.basetypeimpl.combineconfig.md

File metadata and controls

30 lines (18 loc) · 900 Bytes

Home > @skunkteam/types > BaseTypeImpl > combineConfig

BaseTypeImpl.combineConfig() method

Combine two config values into a new value.

Signature:

protected combineConfig(oldConfig: TypeConfig, newConfig: TypeConfig): TypeConfig;

Parameters

Parameter Type Description
oldConfig TypeConfig the current config of the base type
newConfig TypeConfig the new provided config

Returns:

TypeConfig

a new config object based on the old and new config

Remarks

Can be overridden by subclasses to check/change new configs when withConfig is used.