Skip to content

Commit 70aa826

Browse files
committed
fix: fix form.Field types
1 parent 9213ddf commit 70aa826

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Form/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export interface UseFormReturn<
4343
TTransformedValues extends FieldValues = z.infer<TSchema>,
4444
> extends UseHookFormReturn<z.infer<TSchema>, TContext, TTransformedValues> {
4545
Field: React.FunctionComponent<
46-
FormFieldProps<z.infer<TSchema>, FieldPath<z.infer<TSchema>>>
46+
FormFieldProps<TSchema, FieldPath<z.infer<TSchema>>>
4747
>;
4848
}
4949

0 commit comments

Comments
 (0)