Type Alias ConfigAccessorSettings<TOutputConfig, TInputConfig>

ConfigAccessorSettings: {
    config: TInputConfig;
    schema?: StandardSchemaV1<TInputConfig, TOutputConfig>;
}

Settings for configuring an ConfigAccessor instance.

Type Parameters

Type declaration

  • config: TInputConfig

    The configuration object to be accessed. This is the raw config that will be used directly or validated against the schema if provided.

  • Optionalschema?: StandardSchemaV1<TInputConfig, TOutputConfig>

    The optional schema used to validate and type the config.

The configuration object type.