bombshell-dev / clack

Effortlessly build beautiful command-line apps
https://clack.cc
5.23k stars 88 forks source link

[Bug] Typescript Select option value warning #178

Open TheMikeyRoss opened 7 months ago

TheMikeyRoss commented 7 months ago

Environment

Describe the bug a typescript warning for the value property of the options of the clack.select image

To Reproduce Include a link to a minimal reproduction using node.new

Steps to reproduce the behavior:

Expected behavior A clear and concise description of what you expected to happen.

Additional Information If applicable, add screenshots to help explain your problem.

Mist3rBru commented 7 months ago

Hello @TheMikeyRoss!

This error occurs because Typescript is using initialValue to set the option.value type. This was fixed by PR #102, and it is currently staged for release #149.

thasmo commented 1 month ago

@Mist3rBru, will the next version including this fix be released anytime soon? Thank you!

brokuka commented 1 week ago

any news ? :(