ant-design-vue
ant-design-vue copied to clipboard
Slider prop `step` does not include `null` as possible type in TS
trafficstars
- [x] I have searched the issues of this repository and believe (hopefully) that this is not a duplicate.
Version
4.2.3
Environment
Vue 3.4.29, AntD 4.2.3
Reproduction link
Not applicable
Steps to reproduce
<ASlider
:step="null"
^^^^^ δΈθ½ε° null ει
η» number | undefined
/>
What is expected?
null should be included in step prop types.
What is actually happening?
TS server throws an error when you trying to assign null to step.
The problem will be viewed
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days