diff --git a/packages/better-auth/src/index.ts b/packages/better-auth/src/index.ts index ca500c4211..1d4478925f 100644 --- a/packages/better-auth/src/index.ts +++ b/packages/better-auth/src/index.ts @@ -9,12 +9,6 @@ export { getCurrentAdapter } from "@better-auth/core/context"; export * from "./auth"; export * from "./types"; export * from "./utils"; -export type * from "better-call"; -export type * from "zod/v4"; -// @ts-expect-error we need to export core to make sure type annotations works with v4/core -export type * from "zod/v4/core"; -//@ts-expect-error: we need to export helper types even when they conflict with better-call types to avoid "The inferred type of 'auth' cannot be named without a reference to..." -export type * from "./types/helper"; // export this as we are referencing OAuth2Tokens in the `refresh-token` api as return type // telemetry exports for CLI and consumers