Setu-TS
    Preparing search index...

    Function getConfigSection

    • Reads a startup-validated configuration section.

      The value is the exact output of the section schema that validated this configuration snapshot during loading. It is never parsed or asserted at read time.

      Type Parameters

      • T

        The validated section value

      Parameters

      • config: IConfig

        The configuration snapshot registered by ConfigPlugin

      • definition: ConfigSection<T>

        The section declaration passed to the plugin at startup

      Returns T

      The validated section value

      If this configuration did not validate the definition

      0.7.0