We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
antd
5.0.0-beta.8
Wrong react import in generated file node_modules/@rjsf/antd/dist/index.d.ts:35
export const Form: import("@rjsf/core/node_modules/@types/react").ForwardRefExoticComponent<import("@rjsf/core").FormProps<any, {}> & import("@rjsf/core/node_modules/@types/react").RefAttributes<import("@rjsf/core").default<any, {}>>>;
Must be import("@types/react")
import("@types/react")
No response
- OS: macOS 12.5 - Node: v18.7.0 - npm: 8.15.0
The text was updated successfully, but these errors were encountered:
Since antd isn't written in typescript the compiler is automatically generating things like this. What kind of problems is it causing?
Sorry, something went wrong.
This import can't be found, so unable to compile typescript. As a workaround I use direct import from antd.esm
epicfaace
jacqueswho
heath-freenome
Successfully merging a pull request may close this issue.
Prerequisites
What theme are you using?
antd
Version
5.0.0-beta.8
Current Behavior
Wrong react import in generated file
node_modules/@rjsf/antd/dist/index.d.ts:35
Expected Behavior
Must be
import("@types/react")
Steps To Reproduce
No response
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: