Type Alias ValidOptions<T>

ValidOptions<T>: T extends "boolean"
    ? undefined
    : T extends "string"
        ? readonly string[]
        : T extends "number"
            ? readonly number[]
            : ReadonlyArrays

Defines the type of validOptions that are valid, given a config definition's ConfigType

Type Parameters