Update Form typescript definition (#17652)

This commit is contained in:
jeessy2 2019-07-17 16:53:45 +08:00 committed by zombieJ
parent 7b2a8fdf03
commit a57a2f754d

View File

@ -81,7 +81,7 @@ const InternalForm: React.FC<FormProps> = (props, ref) => {
);
};
const Form = React.forwardRef<FormInstance>(InternalForm);
const Form = React.forwardRef<FormInstance, FormProps>(InternalForm);
export { useForm, List, FormInstance };