• Preparing search index...
  • The search index is not available
map.apps Bundle APIs 4.19.3
  • map.apps Bundle APIs 4.19.3
  • apprt-core
  • config
  • registerConfigValue

Function registerConfigValue

  • registerConfigValue(
        key: keyof WellknownConfigKeys,
        valueOrProvider: ValueOrValueProvider<
            keyof WellknownConfigKeys,
            SupportedValueTypes,
        >,
        options?: RegisterOptions,
    ): void
  • Registers a new key with the configuration. Keys and values must also be declared at the type-level by extending the WellknownConfigKeys interface.

    Throws an exception if the key was already registered.

    Parameters

    • key: keyof WellknownConfigKeys

      the configuration key

    • valueOrProvider: ValueOrValueProvider<keyof WellknownConfigKeys, SupportedValueTypes>

      the value or a function returning the value (for lazy evaluation).

    • Optionaloptions: RegisterOptions

      registration flags

    Returns void

    • Defined in config.ts:491

Settings

Member Visibility
map.apps Bundle APIs 4.19.3
  • Loading...

Generated using TypeDoc