Issue scheduling an internal action from a helper function
In a different file, I have a helper function where I'm passing
ctx (typed as GenericActionCtx<any>). In that function I'm trying to schedule the above action like this:The
internal.it.internalEmail.sendInternalEmail function reference is underlined, and hovering displays this error:I can't see any error in this setup. Any idea why it's claiming that there's a type mismatch?
For reference, here's what the kapa.ai bot said about this. Aside from the things it mentioned that were clearly not issues (e.g. passing an object instead of a function reference), I did try using
ActionCtx instead of GenericActionCtx<any>, but the error was the same.