Skip to content

Commit e372678

Browse files
committed
fix: add back noInfer as removing it breaks using a sharedFetchClient within different wrappers
1 parent db9a540 commit e372678

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/callapi/src/hooks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ export type ValidationErrorContext = UnmaskType<
341341
export type SuccessContext<TData> = UnmaskType<
342342
RequestContext & {
343343
/** Parsed response data with the expected success type */
344-
data: NoInfer<TData>;
344+
data: TData;
345345
/** HTTP response object for the successful request */
346346
response: Response;
347347
}

0 commit comments

Comments
 (0)