FAQ
Q: If I use the @on
decorator, why do I have to type the data
and context
params?
Because typescript is not able to infer function parameter types from decorators. See the open github issue