Type Alias WithType<T>

WithType: { type: T }

Defines the type of an option.

Type Parameters

  • T extends string

    The option type

Type declaration

  • Readonlytype: T

    The option type.