createEffect doesn't resolve void Params #106
Labels
🎁 Rewarded on Issuehunt
This issue has been rewarded on Issuehunt
typings
Typescript public type definitions issues
I have this code:
I got
TS2554: Expected 1 arguments, but got 0. An argument for payload was not provided
So, I have to manually declare effect typings like this:
Or write wrappers:
I want
createEffect
to correctly infervoid
type of ParamsIssueHunt Summary
goodmind has been rewarded.
Backers (Total: $40.00)
Submitted pull Requests
Tips
IssueHunt has been backed by the following sponsors. Become a sponsor
The text was updated successfully, but these errors were encountered: