diff --git a/packages/better-auth/src/index.ts b/packages/better-auth/src/index.ts index f7197ebac6..70a92c2dbc 100644 --- a/packages/better-auth/src/index.ts +++ b/packages/better-auth/src/index.ts @@ -4,3 +4,5 @@ export * from "./error"; export * from "./utils"; export type * from "better-call"; export type * from "zod"; +//@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";