fix(client): use direct imports to fix bundler re-export type resolution (#8261)

This commit is contained in:
Alex Yang
2026-03-02 02:02:32 +09:00
parent c668c9b885
commit 63bb7706fd
2 changed files with 2 additions and 3 deletions
@@ -1,6 +1,5 @@
import type { Awaitable } from "@better-auth/core";
import type { Awaitable, GenericEndpointContext } from "@better-auth/core";
import type { JWTPayload } from "jose";
import type { GenericEndpointContext } from "../..";
import type { InferOptionSchema, Session, User } from "../../types";
import type { schema } from "./schema";
+1 -1
View File
@@ -2,7 +2,7 @@ import type { BetterAuthOptions, BetterAuthPlugin } from "@better-auth/core";
import type {
InferDBFieldsFromOptionsInput,
InferDBFieldsFromPluginsInput,
} from "../db";
} from "@better-auth/core/db";
import type { UnionToIntersection } from "./helper";
export type AdditionalUserFieldsInput<Options extends BetterAuthOptions> =