-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
@mui/x-codemod v6.0.0/data-grid/preset-safe doesn't work with satisfies / Typescript >= v4.9 #10870
Comments
i've already done the rest of the migration manually so there's no rush for us, but just thought i'd mention. it also balks on the new instantiation expressions fyi |
Just ran into the same problem for the v7 migration with
|
This issue is related to mui/material-ui#34680 which is blocked due to an issue with a linked dependency @Janpot Another small thing, you might want to use the npx @mui/x-codemod@latest v7.0.0/data-grid/preset-safe <path> |
FYI, I'm fixing the tests in mui/material-ui#34680 and will merge it this week. The next release of codemod (v6.0.0-alpha.3) should work with TS >= 4.9 |
Fixed by #12305 |
@scamden: How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey. |
Steps to reproduce
Link to live example: (required)
Steps:
Current behavior
code mod says unknown node type when it hits the satisfies AST node.
Expected behavior
codemod runs and transforms the code
Context
"typescript": "5.0.4"
Your environment
npx @mui/envinfo
Search keywords: typescript codemod satisifies data-grid
The text was updated successfully, but these errors were encountered: