createInteractivePrompt
createInteractivePrompt<
T,O,S>(config): (opts) =>Promise<T>
Defined in: packages/prompt/dist/core/index.d.mts:36
Type Parameters
Section titled “Type Parameters”T
O extends CoreOpts<T>
S
Parameters
Section titled “Parameters”config
Section titled “config”initialState
Section titled “initialState”(opts) => S
render
Section titled “render”(ctx) => void
setup?
Section titled “setup?”(ctx) => void
Returns
Section titled “Returns”(opts) => Promise<T>