diff --git a/components/form/FormItem.tsx b/components/form/FormItem.tsx index 49d544dee..9a6ab25c5 100644 --- a/components/form/FormItem.tsx +++ b/components/form/FormItem.tsx @@ -1,4 +1,11 @@ -import type { PropType, ExtractPropTypes, ComputedRef, Ref, ComponentPublicInstance } from 'vue'; +import type { + PropType, + ExtractPropTypes, + ComputedRef, + Ref, + ComponentPublicInstance, + HTMLAttributes, +} from 'vue'; import { watch, defineComponent, @@ -79,8 +86,8 @@ export const formItemProps = { label: PropTypes.any, help: PropTypes.any, extra: PropTypes.any, - labelCol: { type: Object as PropType }, - wrapperCol: { type: Object as PropType }, + labelCol: { type: Object as PropType }, + wrapperCol: { type: Object as PropType }, hasFeedback: PropTypes.looseBool.def(false), colon: PropTypes.looseBool, labelAlign: PropTypes.oneOf(tuple('left', 'right')),