Skip to content

[code-infra] Fix icon-material type resolution under moduleResolution: "node" #45704

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

Merged
merged 5 commits into from
Mar 27, 2025

Conversation

Janpot
Copy link
Member

@Janpot Janpot commented Mar 27, 2025

Fixes #45697
Closes #45695

attw can't catch this because it only checks whether it can resolve valid type declarations, not whether these resolved type declarations are the right ones.

The types test is pretty useless as it's not operating on real build output. I'm replacing it with a test suite that can test multiple module resolution settings on real build folders.

@mui-bot
Copy link

mui-bot commented Mar 27, 2025

Netlify deploy preview

https://deploy-preview-45704--material-ui.netlify.app/

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 87f9ce9

@Janpot Janpot added the package: icons Specific to @mui/icons label Mar 27, 2025
@Janpot Janpot marked this pull request as ready for review March 27, 2025 09:24
@Janpot Janpot requested a review from a team March 27, 2025 10:04
@Janpot Janpot merged commit 045c3bf into mui:master Mar 27, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: icons Specific to @mui/icons
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[icons] v7 "@mui/icons-material" typing is not working correctly for named exports
3 participants