Documentation / @listr2/prompt-adapter-enquirer / EnquirerPromptOptions
Type Alias: EnquirerPromptOptions<T>
EnquirerPromptOptions<
T
>:Unionize
<{ [K in EnquirerPromptTypes]-?: T extends true ? Object & EnquirerPromptOptionsType<K> & Object : Object & EnquirerPromptOptionsType<K> }
> |object
&T
extendstrue
?EnquirerPromptOptionsType
<string
> &object
:EnquirerPromptOptionsType
<string
>
Returns all the prompt options depending on the type selected.
Type Parameters
• T extends boolean
= false
Defined in
prompt-adapter-enquirer/src/prompt.interface.ts:101