Type issue when trying to use better-auth in Turborepo
Hi everyone, I'm trying to use better-auth in turborepo and made my own internal package. "@workspace/auth". I am setting up better-auth, but I get this annoying error on my auth.ts and auth-client.ts. How can I fix this?
4 Replies
@salzar Make sure you have
strict
set to true
in your tsconfig.More info at: https://www.better-auth.com/docs/concepts/typescript
TypeScript | Better Auth
Better Auth TypeScript integration.
After adding these 3, it worked perfect
Awesome