node-env
    Preparing search index...

    Type Alias EnvMappedField<TValue, TOutput>

    Config field definition used by env.config.field(...).

    type EnvMappedField<TValue, TOutput = TValue> = {
        key: Uppercase<string>;
        transform?: (value: TValue, source: EnvSource) => TOutput;
        validator: Validator<TValue>;
    }

    Type Parameters

    Index

    Properties

    key: Uppercase<string>
    transform?: (value: TValue, source: EnvSource) => TOutput
    validator: Validator<TValue>