Skip to content
Discussion options

You must be logged in to vote

The error will also disappear once you actually use the action entry somewhere. The compiler needs to know what type the first parameter to the closure is going to be, and without context (actual usage!) you have to provide it.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Wanpaku
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants