Interface SlashChoiceType<T, X>

Slash choice type

interface SlashChoiceType<T extends string = string, X = string | number> {
    name: NotEmpty<T>;
    nameLocalizations?: Partial<Record<Locale, null | string>>;
    value?: X;
}

Type Parameters

  • T extends string = string
  • X = string | number

Properties

name: NotEmpty<T>
nameLocalizations?: Partial<Record<Locale, null | string>>
value?: X