formik-antd
formik-antd copied to clipboard
Bug: Update antd from 4.3.4 to 4.3.5
Description
When updating Ant-Design from version 4.3.4
to 4.3.5
types are no longer matching
Log
node_modules/formik-antd/lib/input/index.d.ts(9,103): error TS2749: 'Password' refers to a value, but is being used as a type here. Did you mean 'typeof Password'?
Changelog
- Rewrite Input.Password with hooks. #25012 @Rustin-Liu
https://github.com/ant-design/ant-design/blob/master/CHANGELOG.en-US.md#435
Hi @marcobiedermann, the packaged version of this lib does not include ant design types directly (it is only a peer dependency). So the consuming app packages decides what version is being used. If your typescript compilation thinks there are some TS errors within this library, I think you could/should tell the TS compiler tell to ignore these.