Skip to content

ChoiceQuestion

Defined in: core/src/decisions.ts:21

Pick one option.

Type Parameter Default type
Option extends string string
criteria: Record<Option, unknown>;

Defined in: core/src/decisions.ts:26

Each option, mapped to what it means. Use null when its name says it all. TypeSafe takes up to 255.


optional instructions?: DecisionInstructions;

Defined in: core/src/decisions.ts:23


type: "choice";

Defined in: core/src/decisions.ts:22