Skip to content

Documentation / @listr2/prompt-adapter-enquirer / EnquirerPromptOptionsType

Type alias: EnquirerPromptOptionsType<T>

EnquirerPromptOptionsType<T>: T extends keyof EnquirerPromptOptionsMap ? EnquirerPromptOptionsMap[T] : T extends string ? EnquirerBasePromptOptions & Record<PropertyKey, unknown> : any

Type parameters

T

Source

prompt-adapter-enquirer/src/prompt.interface.ts:132