question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[LoadingButton] LoadingButtonProps freezes typescript compilation on "Checking validity for types"

See original GitHub issue

Duplicates

  • 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:

  1. create a next js project with typescript and install mui
  2. create a LoadingButton component and the props for it should extend the LoadingButtonProps.
  3. render the component and run next build
  4. 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:open
  • Created 2 years ago
  • Reactions:6
  • Comments:17 (1 by maintainers)

github_iconTop GitHub Comments

9reactions
markedwardscommented, Jan 28, 2022

What information is missing here? The bug is clear, and has been corroborated by multiple people.

8reactions
github-actions[bot]commented, Jan 28, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found