Typing of createAction with accessing event properties
#5498
|
What is a way to properly type events when using CodeSandbox, TypeScript error on line 18: One possible way is |
Answered by
davidkpiano
Apr 6, 2026
Replies: 1 comment
|
If it cannot be, it may be better to define it inline. |
0 replies
Answer selected by
alexamy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
assertEventis most suitable here because this action can be called with any event.If it cannot be, it may be better to define it inline.