From 45cc9fa00771831c4690cdff0837f167e5045baf Mon Sep 17 00:00:00 2001 From: lijianan <574980606@qq.com> Date: Tue, 30 Apr 2024 16:04:51 +0800 Subject: [PATCH] chore: clear any (#684) * chore: rm defaultProps * chore: rm defaultProps * fix: fix * fix: fix * fix: fix --- src/Field.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Field.tsx b/src/Field.tsx index 10c3ad3b3..1b9d1cba3 100644 --- a/src/Field.tsx +++ b/src/Field.tsx @@ -580,8 +580,7 @@ class Field extends React.Component 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) : {};