Skip to content

Commit 45cc9fa

Browse files
authored
chore: clear any (#684)
* chore: rm defaultProps * chore: rm defaultProps * fix: fix * fix: fix * fix: fix
1 parent 8c8a829 commit 45cc9fa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Field.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -580,8 +580,7 @@ class Field extends React.Component<InternalFieldProps, FieldState> implements F
580580
const value = this.getValue();
581581
const mergedGetValueProps = getValueProps || ((val: StoreValue) => ({ [valuePropName]: val }));
582582

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

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

0 commit comments

Comments
 (0)