Type Alias OptionAlias<T>

OptionAlias<T>: T extends {
        alias: string[];
    }
    ? T["alias"][number]
    : never

Get a union of all aliases for an option.

Type Parameters