Type alias WithType<T>

WithType<T>: {
    type: T;
}

Defines the type of an option.

Type Parameters

  • T extends string

    The option type

Type declaration

  • Readonly type: T

    The option type.