-
Notifications
You must be signed in to change notification settings - Fork 11
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
Hmm, Promise<never> when using an arrow function? #76
Comments
Ahh, I see what happened. I was having issues getting JSDoc to be happy by not using TS overloading, but that seems to be causing issues. Let me quick fix that. |
Fixed by #78 |
🎉 This issue has been resolved in version 1.14.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@Stumblinbear ^^^ |
Got a code sample to reproduce? |
Yup it is the basic-spec in this repo - I had to add ts-ignore in a couple of places. Run lint script after removing the ts-ignore
…Sent from my iPhone
On Mar 7, 2022, at 09:08, Trevin Miller ***@***.***> wrote:
Got a code sample to reproduce?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you modified the open/close state.
|
I'm not getting any errors, even without the ts-ignores |
Try pulling my repo and see if you get the same thing. What's the return type of whatever value is in the recursive |
Oh, it's through a task. That seems more like an issue with task than the types here. Is there a definition for defining the return type of 'randomNumber'? |
TypeScript check complains about
Promise<never>
?Making a full function seems to solve a problem, but why...
cc @Stumblinbear
The text was updated successfully, but these errors were encountered: