| 4 | import type { Option } from './select.js'; |
| 5 | |
| 6 | export interface SelectKeyOptions<Value extends string> extends CommonOptions { |
| 7 | message: string; |
| 8 | options: Option<Value>[]; |
| 9 | initialValue?: Value; |
| 10 | caseSensitive?: boolean; |
| 11 | } |
| 12 | |
| 13 | export const selectKey = <Value extends string>(opts: SelectKeyOptions<Value>) => { |
| 14 | const opt = ( |
nothing calls this directly
no outgoing calls
no test coverage detected