Error:
The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed. (ts 7056)
The inferred type of 'BetterAuthClient' cannot be named without a reference to '.pnpm/zod@4.0.5/node_modules/zod/v4/core/schemas.js'. This is likely not portable. A type annotation is necessary. (ts 2742)
How I use betterAuth():
I call and configure betterAuth() in effect: Effect.gen() in my Effect.Service
Note: this issue is only the case in versions after v1.2.12 (the last one i had)