fix: export helper types to resolve type inference

This commit is contained in:
Bereket Engida
2025-03-02 09:30:58 +03:00
parent ee89ff6b7a
commit fc2d037ccb

View File

@@ -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";