MCPcopy Create free account
hub / github.com/bombshell-dev/clack / SelectOptions

Interface SelectOptions

packages/core/src/prompts/select.ts:4–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import Prompt, { type PromptOptions } from './prompt.js';
3
4export interface SelectOptions<T extends { value: any; disabled?: boolean }>
5 extends PromptOptions<T['value'], SelectPrompt<T>> {
6 options: T[];
7 initialValue?: T['value'];
8}
9export default class SelectPrompt<T extends { value: any; disabled?: boolean }> extends Prompt<
10 T['value']
11> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected