Class ConfigObjectElement<TProperty>

Generic object element of the configuration from JSON file. DI injects the root config element.

Type Parameters

  • TProperty extends string = string

    The helper for strongly-typed access to config properties according to target class.

Hierarchy

Constructors

Properties

Methods

Constructors

  • Type Parameters

    • TProperty extends string = string

    Parameters

    • value: Readonly<Record<string, unknown>>
    • filePath: string
    • propertyPath: string

    Returns ConfigObjectElement<TProperty>

Properties

filePath: string
propertyPath: string
value: Readonly<Record<string, unknown>>

Methods

Generated using TypeDoc