You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our definitions are tested with the following tsconfig.json. Using a less strict tsconfig.json or omitting some of the libraries might cause errors.
Following the config file I saw the the minimum baseline of a supported Typescript configuration is strict: true that literally means enabling all known and possible checks. As a consequence, it also means that Material UI is not guaranteed to work without errors in projects that do not enable all checks.
In that case it seems that I could solve my problems enabling strictNullChecks but that one alone triggers 892 errors in my current project. Right now I cannot get a time budget to fix those, so our only solution for the time being is holding back the Typescript upgrade.
Please, consider supporting projects that want to use Material UI without being forced to fix every single strict check. I do believe there are plenty of legacy projects that must disable full strict mode to benefit from Typescript.
Your Environment 🌎
Tech
Version
Material-UI
v4.1.1
React
16.8.3
TypeScript
3.5.2
The text was updated successfully, but these errors were encountered:
According the Typescript guide:
Following the config file I saw the the minimum baseline of a supported Typescript configuration is
strict: true
that literally means enabling all known and possible checks. As a consequence, it also means that Material UI is not guaranteed to work without errors in projects that do not enable all checks.In my case, I've been hunting down errors caused since Typescript 3.5 as in #15942, #16088 (comment), #16088
In that case it seems that I could solve my problems enabling
strictNullChecks
but that one alone triggers 892 errors in my current project. Right now I cannot get a time budget to fix those, so our only solution for the time being is holding back the Typescript upgrade.Please, consider supporting projects that want to use Material UI without being forced to fix every single strict check. I do believe there are plenty of legacy projects that must disable full strict mode to benefit from Typescript.
Your Environment 🌎
The text was updated successfully, but these errors were encountered: