Introduction
CLI
Links
Appearance
import { PromptWhen } from "@tsed/cli-prompts/src/interfaces/PromptQuestion";
See /packages/cli-prompts/src/interfaces/PromptQuestion.ts.
type PromptWhen = boolean | ((answers: Record<string, any>) => MaybePromise<boolean>);
Determines whether a prompt should run.