bombshell-dev / clack

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

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

Open tjx666 opened 12 months ago

tjx666 commented 12 months ago

Environment

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.