Anyone have an idea what this bug is about
The inferred type of authClient cannot be named without a reference to ../../../../node_modules/better-auth/dist/shared/better-auth.Bi8FQwDD . This is likely not portable. A type annotation is necessary.
I have added dom to tsconfig, cleared my node_modules and cache, updated to better-auth: ^1.2.4, as well.
This is what I am trying to do, example from docs
I have added dom to tsconfig, cleared my node_modules and cache, updated to better-auth: ^1.2.4, as well.
This is what I am trying to do, example from docs
import { createAuthClient } from "better-auth/react";
export const authClient = createAuthClient({
baseURL: import.meta.env.VITE_API_BASE_URL,
});