-
Notifications
You must be signed in to change notification settings - Fork 107
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
fix(@clack/core,@clack/prompts): add non empty opts type interface #145
base: main
Are you sure you want to change the base?
fix(@clack/core,@clack/prompts): add non empty opts type interface #145
Conversation
|
Hey @kevduc ! Thanks for this PR! 🙏🏼 I recently merged a PR to simplify types on I could also see this being used also on https://github.com/natemoo-re/clack/blob/7c7fde8dcdfa1edc3feb131331290affbaa6d934/packages/prompts/src/index.ts#L307 & https://github.com/natemoo-re/clack/blob/7c7fde8dcdfa1edc3feb131331290affbaa6d934/packages/prompts/src/index.ts#L423 |
36cd1ad
to
93fc16a
Compare
@cpreston321 Thanks for the suggestions!
|
This PR addresses this issue #144.
The current implementation is erroring out at runtime, the implementation in this PR shows a type error in the IDE/tsc instead.