Parameter has a name but no type
Hey all 👋 , I'm trying to create an internal action, but I'm seeing an error in the console saying
Parameter has a name but no type. Did you mean 'arg0: Prediction'?
I did some debugging and it seems that removing replicate from the import at the top remove the error 🤔
this my code not sure what I'm doing wrong here, are there packages that we can't use from actions
?
3 Replies
This looks like a TypeScript error due to replicate's types. Does downgrading to a previous version of replicate resolve this (e.g.
npm install replicate@0.13.0
)?I just reported this to the author of that library https://github.com/replicate/replicate-javascript/issues/109
@fawwaz +1 to using 0.13 instead
Oh wow thanks guys that worked 🥳
and I just started using Convex but I think I'm already in love 👅