Type Alias Selector<T, R>

Selector<T, R>: ((cfg: T) => R)

Configuration Selector. Used with the Config#select method to get a configuration value as a dependency.

Type Parameters

  • T extends UnknownRecord

    The configuration type.

  • R

    The return type.