Introduction
CLI
Links
Appearance
import { resolveMaybe } from "@tsed/cli-prompts/src/utils/resolveMaybe";
See /packages/cli-prompts/src/utils/resolveMaybe.ts.
function resolveMaybe<T>(value: T | ((answers: Record<string, any>) => T | Promise<T>) | undefined, answers: Record<string, any>): Promise<T> | T;