diff --git a/packages/antd/src/select/index.tsx b/packages/antd/src/select/index.tsx index 9db97b541d8..90637bcc617 100644 --- a/packages/antd/src/select/index.tsx +++ b/packages/antd/src/select/index.tsx @@ -1,9 +1,10 @@ import React from 'react' import { connect, mapReadPretty, mapProps } from '@formily/react' import { Select as AntdSelect } from 'antd' +import { SelectProps } from 'antd/lib/select' import { PreviewText } from '../preview-text' import { LoadingOutlined } from '@ant-design/icons' -export const Select = connect( +export const Select: React.FC> = connect( AntdSelect, mapProps( {