The inferred type of 'auth' cannot be named without a reference to 'better-auth/node_modules/zod/v4/
Better-auth 1.3.4
9 Replies
Bump also need help w this
Hey guys, can you let me know if you have zod? and if so, is it version 4?
Yes. Using zod v4
Can you share your tsconfig?
It's most likely coming from
composite
, we require that to be false for Better-Auth to work for now.seems like that Zod is a must install dependency now, without it I get a ton of errors.
@Ping I have composite false in my auth package still this error is coming. here is my tsconfig.json
----------
Note: I am using tsup to build the package and then I am using it in backend/frontend apps following monorepo arch.
What's in the
@task-dao/typescript-config/base.json
?