t3 turbo - Better Auth plugins causing issue
when using plugins in betterauth it breaks trpc , here is what i got
just the t3 turbo plugins cause this error
and removing the user schema additions removes the error
how can i fix these issues or are they upstream trpc / betterauth issues that aren't due to my trpc incompetence?
here is my better auth config
https://paste.sh/bBjWAYB3#cF3EFQq1oZ5y7zkne66pGe5E
here is what is needed to fix the errors
https://paste.sh/2C1JmBqV#sbj1xuEyu92pmlcjev6-86ng
can't post it on discord because of char limit
2 Replies
Could be related to this issue? https://github.com/better-auth/better-auth/issues/2123#issuecomment-3464227691
GitHub
The inferred type of 'auth' cannot be named without a reference · ...
Is this suited for github? Yes, this is suited for github To Reproduce setup better-auth in express node application. Current vs. Expected behavior The inferred type of 'auth' cannot be nam...
There are two tsconfig options: definition and definitionMap, sth like this. Try to set it to false or remove entirely from tsconfig