ClassConfig<ConfigType>

Config

Instance of configuration for a component

Type Parameters

Constructors

Properties

Methods

Constructors

Properties

configObject: ConfigType

Methods

  • Merge configuration objects into a single config

    I think this makes sense to go in here rather then as utility function because it is used each time a configuration is created in the constructor of a component. So it would not be removed during tree-shaking.

    Parameters

    • Rest...configObjects: {
          [key: string]: unknown;
      }[]

      configuration objects passed

    Returns {
        [key: string]: unknown;
    }

    • merged configuration object
    • [key: string]: unknown