-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
scope: data gridChanges related to the data grid.Changes related to the data grid.type: regressionA bug, but worse, it used to behave as expected.A bug, but worse, it used to behave as expected.typescript
Description
Steps to reproduce
Steps:
- Create TypeScript project with a strict package manager that uses @mui/x-data-grid with
skipLibCheck
turned off - Run type-checking
Current behavior
Type errors:
Error: ../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_@[email protected]_r_f72b9c4b222fe6db574016499504508e/node_modules/@mui/x-virtualizer/esm/features/dimensions.d.ts(28,53): error TS2307: Cannot find module '@mui/x-internals/throttle/throttle' or its corresponding type declarations.
Error: ../../node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_@[email protected]_r_f72b9c4b222fe6db574016499504508e/node_modules/@mui/x-virtualizer/esm/useVirtualizer.d.ts(117,55): error TS2307: Cannot find module '@mui/x-internals/throttle/throttle' or its corresponding type declarations.
Expected behavior
No type errors
Context
No response
Your environment
npx @mui/envinfo
System:
OS: Windows 11 10.0.26100
Binaries:
Node: 22.15.0 - C:\Program Files\nodejs\node.EXE
npm: 10.9.2 - C:\Program Files\nodejs\npm.CMD
pnpm: 10.13.1 - C:\Program Files\nodejs\pnpm.CMD
Browsers:
Chrome: Not Found
Edge: Chromium (131.0.2903.70)
npmPackages:
react: ^19.1.0 => 19.1.0
react-dom: ^19.1.0 => 19.1.0
typescript: ~5.9.2 => 5.9.2
Search keywords: x-virtualizer typescript
jansepke
Metadata
Metadata
Assignees
Labels
scope: data gridChanges related to the data grid.Changes related to the data grid.type: regressionA bug, but worse, it used to behave as expected.A bug, but worse, it used to behave as expected.typescript