-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[pickers] Cannot compile in TypeScript with skipLibCheck: false in MUI 7.20.0 #14924
Comments
There was some discussion in #14896 on how to catch this issue earlier. A possible solution would be to create an empty project with MUI-X and compile it with |
Damn... I missed this one 🙄 I fixed it in Opening a PR 😬 |
How come this is a problem? 🤔 Could there have been a problem with the release? |
I tried the Codesandbox build I used the search of the IDE to check if I had other instances of |
Nevermind. It's late Friday and I'm sick. 😆 |
This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue. Note @jcrang 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. |
Note: this is the same issue as #14895; I believe that fixed the issue in DateRangePicker.d.ts but not DateRangePickerToolbar.d.ts
Steps to reproduce
Link to live example: (required)
https://stackblitz.com/edit/react-jf96wz?file=Demo.tsx,index.tsx,node_modules%2F%40mui%2Fx-date-pickers-pro%2FDateRangePicker%2FDateRangePickerToolbar.d.ts
Steps:
Make sure to have skipLibCheck set to false in tsconfig.json.
Current behavior
TypeScript compiler errors shown under
import("luxon")
andimport("moment")
Expected behavior
No TypeScript compiler errors
Context
No response
Your environment
npx @mui/envinfo
Search keywords: skipLibCheck luxon moment pickers
The text was updated successfully, but these errors were encountered: