Skip to content

Commit

Permalink
chore: clear any (#684)
Browse files Browse the repository at this point in the history
* chore: rm defaultProps

* chore: rm defaultProps

* fix: fix

* fix: fix

* fix: fix
  • Loading branch information
li-jia-nan authored Apr 30, 2024
1 parent 8c8a829 commit 45cc9fa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Field.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -580,8 +580,7 @@ class Field extends React.Component<InternalFieldProps, FieldState> implements F
const value = this.getValue();
const mergedGetValueProps = getValueProps || ((val: StoreValue) => ({ [valuePropName]: val }));

// eslint-disable-next-line @typescript-eslint/no-explicit-any
const originTriggerFunc: any = childProps[trigger];
const originTriggerFunc = childProps[trigger];

const valueProps = name !== undefined ? mergedGetValueProps(value) : {};

Expand Down

0 comments on commit 45cc9fa

Please sign in to comment.