Typescript: Slider props import no longer working with Ant Design 4.8.1
luke-underwood opened this issue · comments
Since updating Ant Design to 4.8.1, the formik-antd Select component causes Typescript errors.
I believe the issue lies in line 6 of slider/index.tsx:
import { SliderProps as $SliderProps } from 'antd/lib/slider'
Ant Design have split the props interfaces into SliderSingleProps and SliderRangeProps. This is the Ant Design commit that broke things
Hi @SnarkieDesign , thanks for bringin this up.
v 2.1.0-beta.1 should solve this issue. If not pls reopen.