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

fix(icon-helpers): fix TypeScript type issues #15542

Merged

Conversation

lewandom
Copy link
Contributor

Closes #15114

Fixes TypeScript issues introduced when migrating getAttributes() function to TypeScript.

Changelog

Changed

  • Migrated remaining functions to TypeScript
  • Removed dependency on React types

Testing / Reviewing

Standard build/test runs must be passing. There should be no functional/behavioral changes introduced by this change. Using @carbon/icon-helpers in non-React projects should not cause any errors.

Copy link

netlify bot commented Jan 16, 2024

Deploy Preview for v11-carbon-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 07dea91
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/65a6a4b51282e80008ffe912
😎 Deploy Preview https://deploy-preview-15542--v11-carbon-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@tay1orjones tay1orjones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Copy link
Contributor

@andreancardona andreancardona left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So sorry for the delayed review, looks good! :)

@andreancardona andreancardona added this pull request to the merge queue Jan 24, 2024
Merged via the queue into carbon-design-system:main with commit 6a49fff Jan 24, 2024
22 of 23 checks passed
@lewandom lewandom deleted the ts-icon-helpers-type-fixes branch January 26, 2024 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: @carbon/icon-helpers imports react and cannot find a declaration file
3 participants