[LoadingButton] LoadingButtonProps freezes typescript compilation on "Checking validity for types"
See original GitHub issueDuplicates
- I have searched the existing issues
Latest version
- I have tested the latest version
Current behavior 😯
The LoadingButtonProps freezes typescript compilation. The build remains stuck on “Checking validity of types”. Using the ButtonProps interface temporarily solves the issue.
The issue is described in detail here
Expected behavior 🤔
Typescript should compile fine to javascript files.
Steps to reproduce 🕹
Steps:
- create a next js project with typescript and install mui
- create a LoadingButton component and the props for it should extend the LoadingButtonProps.
- render the component and run next build
- the terminal should be stuck on “Checking validity of types…”
Context 🔦
Was unable to use LoadingButton props which caused a build failure. I had to use ButtonProps instead which produced the build
Your environment 🌎
`npx @mui/envinfo`
System:
OS: Linux 5.10 Manjaro Linux
Binaries:
Node: 16.11.0 - /usr/bin/node
Yarn: 1.22.10 - /usr/bin/yarn
npm: 8.0.0 - /usr/bin/npm
Browsers:
Chrome: Not Found
Firefox: 94.0.1
Issue Analytics
- State:
- Created 2 years ago
- Reactions:6
- Comments:17 (1 by maintainers)
Top Results From Across the Web
Documentation - tsc CLI Options - TypeScript
Flag Type Default
‑‑allowJs boolean false
‑‑allowUmdGlobalAccess boolean false
‑‑allowUnreachableCode boolean
Read more >TypeScript tool window | IntelliJ IDEA Documentation - JetBrains
The TypeScript tool window lists compilation errors in TypeScript code. This list is not affected by ... Learn more from Verify TypeScript.
Read more >in the latest mui loadingbutton is missing? - splunktool
... it should extend the LoadingButtonProps.,The LoadingButtonProps freezes typescript compilation. The build remains stuck on “Checking validity of types”.
Read more >Understanding TypeScript's “Compilation Process” & the ...
ts ) into JavaScript. However, the tsc compiler (short for TypeScript compiler) needs a JSON configuration file to look for TypeScript files in ......
Read more >How TypeScript Compilation Works ? - GeeksforGeeks
We may also add data types along with the variable declarations, and return types along with the function declarations (or method declarations).
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
What information is missing here? The bug is clear, and has been corroborated by multiple people.
Since the issue is missing key information, and has been inactive for 7 days, it has been automatically closed. If you wish to see the issue reopened, please provide the missing information.