We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
any
const { question } = await prompts({ type: 'text', name: 'question', message: 'what do you want to ask?' })
question is incorrectly typed as any instead of string
question
string
Better return types
const { question }: { question: string} = await prompts({ type: 'text', name: 'question', message: 'what do you want to ask?' })
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is your feature request related to a problem?
question
is incorrectly typed as any instead ofstring
Describe the solution you'd like
Better return types
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: