Setu-TS
    Preparing search index...

    Interface EnvVarSpec

    Specification of one environment variable for IEnvironmentApi.validate.

    0.1.0

    interface EnvVarSpec {
        default?: string | number | boolean;
        required?: boolean;
        type?: "string" | "number" | "boolean";
    }
    Index
    default?: string | number | boolean

    Default applied when the variable is absent.

    required?: boolean

    Whether the variable must be present.

    type?: "string" | "number" | "boolean"

    Expected primitive type (defaults to 'string').