Skip to content

Option

Option<T, R, V> = object

Defined in: utils/option.ts:53

T extends keyof OptionValue = keyof OptionValue

R extends boolean = boolean

V = OptionValue[T]

optional autocomplete?: (c) => Suggestion<V>[] | Promise<Suggestion<V>[]>

Defined in: utils/option.ts:68

AutocompleteContext

Suggestion<V>[] | Promise<Suggestion<V>[]>


optional channelTypes?: ChannelType[]

Defined in: utils/option.ts:66


optional choices?: Record<string, V>

Defined in: utils/option.ts:61


description: string

Defined in: utils/option.ts:59


optional locales?: Locales

Defined in: utils/option.ts:67


optional max?: number

Defined in: utils/option.ts:63


optional maxLength?: number

Defined in: utils/option.ts:65


optional min?: number

Defined in: utils/option.ts:62


optional minLength?: number

Defined in: utils/option.ts:64


required: R

Defined in: utils/option.ts:60


type: T

Defined in: utils/option.ts:58