type annotation error and property 'suspend' missing
upgraded from mastra
"@mastra/core": "0.17.1", to "@mastra/core": "0.18.0", and getting the errors
and
12 Replies
📝 Created GitHub issue: https://github.com/mastra-ai/mastra/issues/8172
GitHub
[DISCORD:1420533329131864255] type annotation error and property 's...
This issue was created from Discord post: https://discord.com/channels/1309558646228779139/1420533329131864255 upgraded from mastra "@mastra/core": "0.17.1", to "@mastra/co...
Hi @Amos ! Could you share the code where you're getting this error?
for the suspend one
it's not the first time I've had the inferred type error either, so I guess it's a regression
https://discord.com/channels/1309558646228779139/1413529332588085269
didn't check my reproduction if it still happens there, but it was fixed at one point
yeah I updated my previous reproduction and the error happens again so you can check it there
Thanks for checking Amos! I'll reopen the GH issue
I reopened the original issue https://github.com/mastra-ai/mastra/issues/7548
GitHub
[DISCORD:1413529332588085269] Type error in createTool · Issue #75...
This issue was created from Discord post: https://discord.com/channels/1309558646228779139/1413529332588085269 Hi, I upgraded the mastra packages to the latest, but now I'm seeing type error on...
I also still have the error with suspend being required?
https://github.com/amosbastian/mastra-reproduction/tree/package

can get rid of it by doing
but it's weird
also another type error with the agents and runtimeContext
wasn't happening before either

it's fine to type it like
not sure why it was changed to
anyHmm, these type errors are weird, are you able to share a small repro example?
GitHub
GitHub - amosbastian/mastra-reproduction at package
Contribute to amosbastian/mastra-reproduction development by creating an account on GitHub.