Skip to content

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 extends true ? EnquirerPromptOptionsType<string> & object : EnquirerPromptOptionsType<string>

Returns all the prompt options depending on the type selected.

Type parameters

T extends boolean = false

Source

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