Represents a configuration object.

Type Parameters

  • T extends UnknownObject | object

    The type of the configuration object.

Constructors

Accessors

Methods

Constructors

Accessors

Methods

  • Parses the given configuration object and returns a new object with default values for any missing options.

    Parameters

    • Optionalconfig: object | UnknownObject

      The configuration object to parse.

    Returns T

    A new object with default values for any missing options.