bombshell-dev / clack

Effortlessly build beautiful command-line apps

Home Page:https://clack.cc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] can't infer the input type when using results in p.group

tjx666 opened this issue · comments

Environment

  • OS: MacOS
  • Node Version: 18.16.0
  • Package: @clack/prompts
  • Package Version: 0.6.3

Describe the bug

just copy the example code, and check the type:

https://github.com/natemoo-re/clack/blob/main/examples/basic/index.ts#L31

image

To Reproduce

just use the basic example code

Expected behavior

project.type should be infered to type: string

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