Skip to content

[docs] Fix implicit any in crud-dashboard useDialogs under typescript@next - #49824

Merged
LukasTy merged 1 commit into
mui:v9.xfrom
LukasTy:cherry-pick-49237-to-v9.x
Nov 18, 2026
Merged

LukasTy merged 1 commit into
mui:v9.xfrom
LukasTy:cherry-pick-49237-to-v9.x

Conversation

@LukasTy

@LukasTy LukasTy commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Cherry-pick of #49237.

The v9.x nightly-cron fails on test_types_next every night since Sep 26 with the 3 TS7031 errors in useDialogs.tsx that the original PR fixes. Latest run: https://app.circleci.com/pipelines/github/mui/material-ui/186330/workflows/40b263e2-521b-4704-b6f2-97958eeccffc

Local check on v9.x with typescript@7.1.0-dev.20261114.1 (the version that CI resolved): the docs typecheck gives 3 errors before this change and 0 errors after it.

Cause: microsoft/TypeScript#64043 changed the types of object binding defaults. microsoft/TypeScript#65556 reverts it in 7.1.0-dev.20261118.1, so the nightly can pass without this PR from about Nov 21. The revert reopens microsoft/TypeScript#59920, so a new attempt after 7.1 can bring the errors back. This PR prevents that and keeps v9.x the same as master.

Generated with Claude Code

…@next (mui#49237)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@LukasTy LukasTy added type: regression A bug, but worse, it used to behave as expected. scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd). cherry-pick The PR was cherry-picked from the newer alpha/beta/stable branch. labels Nov 18, 2026
@code-infra-dashboard

code-infra-dashboard Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Deploy preview

Bundle size

Bundle Parsed size Gzip size
@mui/material 0B(0.00%) 0B(0.00%)
@mui/lab 0B(0.00%) 0B(0.00%)
@mui/private-theming 0B(0.00%) 0B(0.00%)
@mui/system 0B(0.00%) 0B(0.00%)
@mui/utils 0B(0.00%) 0B(0.00%)

Details of bundle changes

Performance

No regressions in 32 benchmarks · ran 2m 23s · details

Smoke · TextField

Metric baseline current Δ vs baseline
bench:paint 14.3 ms 12.5 ms 🟢 better -14.9% – -11.1%

Medians; Δ is the confidence interval of the paired per-round difference (99%).


Check out the code infra dashboard for more information about this PR.

@LukasTy
LukasTy marked this pull request as ready for review November 18, 2026 11:12
@LukasTy
LukasTy requested review from Janpot and brijeshb42 November 18, 2026 11:13
@LukasTy
LukasTy merged commit cd23227 into mui:v9.x Nov 18, 2026
23 checks passed
@LukasTy
LukasTy deleted the cherry-pick-49237-to-v9.x branch November 18, 2026 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-pick The PR was cherry-picked from the newer alpha/beta/stable branch. scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd). type: regression A bug, but worse, it used to behave as expected.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants