inferred type of '...' cannot be named without a reference
error TS2742: The inferred type of 'plugins' cannot be named without a reference to '...'. This is likely not portable. A type annotation is necessary4 Replies
My config
The error
I've tried doing different things but nothing helps
full error
https://discord.com/channels/1288403910284935179/1431651030998847488 and https://github.com/better-auth/better-auth/issues/5574 are related probably
GitHub
Version 1.3.31 and v1.4.0-beta.13 type inference error requiring re...
Is this suited for github? Yes, this is suited for github To Reproduce Upgrade to version 1.3.31 or v1.4.0-beta.13 and you will see type inference errors like this: The inferred type of this node e...
You need to add this library to the list of direct dependencies if you use pnpm
I have the same error with zod and better-call. Added them to my package as deps and it fixed it.
better-auth is already a direct dependency