Skip to content

Variable: select ​

ts
const 
select
: <
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:108

Type Parameters ​

Type Parameter

Value

Parameters ​

ParameterType

opts

SelectOptions<Value>

Returns ​

Promise<Value | typeof CANCEL_SYMBOL>

基于 MIT 许可证发布