consola
consola copied to clipboard
prompt of select return value type is incorrect
Environment
consola: v3.2.3
Reproduction
types error
Describe the bug
await consola.prompt('select a template', {
type: 'select',
options:[{label: 'template', value: 'template'}]
})
the return value should be string
but i got the SelectOption
Additional context
Logs
No response