conradkoh
conradkoh5mo ago

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
conradkoh
conradkohOP5mo ago
ok nevermind, I found that specifying the return type of the ctx.runQuery function fixed it.

Did you find this page helpful?