Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Update antd from 4.3.4 to 4.3.5 #149

Open
marcobiedermann opened this issue Jun 22, 2020 · 1 comment
Open

Bug: Update antd from 4.3.4 to 4.3.5 #149

marcobiedermann opened this issue Jun 22, 2020 · 1 comment

Comments

@marcobiedermann
Copy link

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 marcobiedermann changed the title Update antd from 4.3.4 to 4.3.5 Bug: Update antd from 4.3.4 to 4.3.5 Jun 22, 2020
@jannikbuschke
Copy link
Owner

jannikbuschke commented Jul 6, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants