Errors when type inference for custom actions
I have a helper function to try to populate the context with session information for a user, but run into type inference errors. My best guess is that there is some problem with cyclic references. Any advice on how to do these kinds of patterns without forcing "any" somewhere into the code?
1 Reply
ok nevermind, I found that specifying the return type of the
ctx.runQuery
function fixed it.