Skip to content

Typescript and actions? (type checking) #1328

Answered by vck3000
vck3000 asked this question in General
Discussion options

You must be logged in to vote

Sorry, I just realised I didn't read carefully enough 😢. I was using service.send(<event type>, {...data}) instead of service.send({type: <event type> , ...data}). The Typescript type checking works perfectly now.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vck3000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant