Interface: Reducer#

Describes a step in the variables overriding chain.

Hierarchy#

  • Reducer

Index#

Properties#

Methods#

Properties#

name#

name: string

Defined in packages/env/src/environment.ts:29

Name of the reducer.

Methods#

reduce#

reduce(target: Record<string, any>, componentName?: undefined | string): Record<string, any>

Defined in packages/env/src/environment.ts:36

Overrides variables for the specified component. If component name is not specified then overrides only global variables.

Parameters:#

NameType
targetRecord<string, any>
componentName?undefined | string

Returns: Record<string, any>