-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Type declarations should work for package imports #9540
Comments
Can this be considered high priority? Is there any plans for brining typescript support directly from |
What is the state when using the new @carbon/react? The page at https://github.com/carbon-design-system/carbon-components-react says we should use this package instead but there is no typescript support yet because @types/carbon-components-react is for the deprecated repo? Also the documentation on https://www.carbondesignsystem.com/developing/react-tutorial/step-1 seems to be quite outdated? |
For TypeScript discussions, I made a discussion over at: #10752 This should be where teams can find the most up-to-date information on where our team is at with respect to TypeScript. At the moment, the types are community-provided and supported and we do not have influence over them. This is more of a logistics problem than anything else on our end, if teams would like to help I would love to chat more in the discussion. Definitely am sorry that the situation for TypeScript is as rough and confusing as it currently is. It's definitely not our intention and we are trying to see what we could provide to improve this experience. |
Duplicate of #16436 |
@types/carbon-components-react
doesn't provide types for ES package imports, e.g.carbon-components-react/es/components/UIShell
. Typescript complains:The text was updated successfully, but these errors were encountered: