Skip to content

Commit

Permalink
fix: use correct type for onChange args when overriding fieldTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
rv-bparise authored Jan 31, 2025
1 parent 36c27a9 commit daff71e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/types/API/Overrides.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export type Overrides = OverridesGeneric<{
export type FieldRenderFunctions = Omit<
{
[Type in Field["type"]]: React.FunctionComponent<
FieldProps<Extract<Field, { type: Type }>> & {
FieldProps<any, Extract<Field, { type: Type }>> & {
children: ReactNode;
name: string;
}
Expand Down

0 comments on commit daff71e

Please sign in to comment.