Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tjx666 opened this issue Jul 8, 2023 · 1 comment · May be fixed by #139
Open

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

tjx666 opened this issue Jul 8, 2023 · 1 comment · May be fixed by #139
Labels
bug Something isn't working

Comments

@tjx666
Copy link

tjx666 commented Jul 8, 2023

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.

@tjx666 tjx666 added the bug Something isn't working label Jul 8, 2023
@orochaa orochaa linked a pull request Aug 11, 2023 that will close this issue
4 tasks
@github-project-automation github-project-automation bot moved this to Needs triage in Triage Board Dec 29, 2024
@bdrtsky
Copy link

bdrtsky commented Feb 17, 2025

I have nothing but empty {} at all in group return

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Needs triage
Development

Successfully merging a pull request may close this issue.

2 participants