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

Interface OptionLike

packages/core/src/prompts/autocomplete.ts:6–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4import Prompt, { type PromptOptions } from './prompt.js';
5
6interface OptionLike {
7 value: unknown;
8 label?: string;
9 disabled?: boolean;
10}
11
12type FilterFunction<T extends OptionLike> = (search: string, opt: T) => boolean;
13

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected