mirror of
https://github.com/better-auth/better-auth.git
synced 2026-08-01 10:50:40 -05:00
fix: ensure zod v4 type annotations work with core types (#3834)
* fix: ensure zod v4 type annotations work with core types * chore: lint --------- Co-authored-by: Bereket Engida <Bekacru@gmail.com>
This commit is contained in:
committed by
Bereket Engida
co-authored by
Bereket Engida
parent
07ce74ee3c
commit
ae8032e879
@@ -4,6 +4,8 @@ export * from "./error";
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user