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