Skip to content

SelectChoice ​

A selectable option for SelectPromptConfig and MultiselectPromptConfig prompts.

Signatures ​

ts
interface SelectChoice {}

Members ​

Properties ​

description ​

Optional description shown alongside the choice.

ts
description?: string;

label ​

Display label shown to the user.

ts
label?: string;

value ​

The value returned when this choice is selected.

ts
value: string;

See Also ​

Released under the MIT License.