Skip to content

Commit

Permalink
fix: fix form.Field types
Browse files Browse the repository at this point in the history
  • Loading branch information
Codpoe committed Jun 3, 2024
1 parent 9213ddf commit 70aa826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Form/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export interface UseFormReturn<
TTransformedValues extends FieldValues = z.infer<TSchema>,
> extends UseHookFormReturn<z.infer<TSchema>, TContext, TTransformedValues> {
Field: React.FunctionComponent<
FormFieldProps<z.infer<TSchema>, FieldPath<z.infer<TSchema>>>
FormFieldProps<TSchema, FieldPath<z.infer<TSchema>>>
>;
}

Expand Down

0 comments on commit 70aa826

Please sign in to comment.