formik-antd icon indicating copy to clipboard operation
formik-antd copied to clipboard

Bug: Update antd from 4.3.4 to 4.3.5

Open marcobiedermann opened this issue 4 years ago • 1 comments

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

https://github.com/ant-design/ant-design/blob/master/CHANGELOG.en-US.md#435

marcobiedermann avatar Jun 22 '20 16:06 marcobiedermann

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.

jannikbuschke avatar Jul 06 '20 11:07 jannikbuschke