Skip to content

Variable: selectKey ​

ts
const 
selectKey
: <
Value
>(
opts
) =>
Promise
<
Value
| typeof CANCEL_SYMBOL>;

Defined in: node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:891

Type Parameters ​

Type Parameter

Value extends string

Parameters ​

ParameterType

opts

SelectKeyOptions<Value>

Returns ​

Promise<Value | typeof CANCEL_SYMBOL>

基于 MIT 许可证发布