Generic type 'DateRangePickerDayProps ' requires 1 type argument(s). #28373
Labels
component: date range picker
This is the name of the generic UI component, not the React module!
status: expected behavior
Does not imply the behavior is intended. Just that we know about it and can't work around it
typescript
Current Behavior 😯
npm build with tsc fails while using "@mui/lab": "^5.0.0-alpha.45",
Expected Behavior 🤔
"tsc" should pass
Steps to Reproduce 🕹
Steps:
Context 🔦
Running the app using vite, "tsc" throws this error
Your Environment 🌎
{
"compilerOptions": {
"target": "ESNext",
"lib": ["dom", "dom.iterable", "esnext"],
"types": ["vite/client","vite-plugin-svgr/client"],
"allowJs": false,
"skipLibCheck": false,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx"
},
"include": ["src"]
}
System:
OS: Windows 10 10.0.19043
CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 6.49 GB / 31.71 GB
Binaries:
Node: 16.4.1 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.5 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 7.18.1 - C:\Program Files\nodejs\npm.CMD
Managers:
pip2: 18.1 - C:\Python27\Scripts\pip2.EXE
pip3: 20.1.1 - ~\AppData\Local\Programs\Python\Python37\Scripts\pip3.EXE
Utilities:
Git: 2.31.0. - /cmd/git
Virtualization:
Docker: 20.10.8 - C:\Program Files\Docker\Docker\resources\bin\docker.EXE
IDEs:
Visual Studio: 16.7.30621.155 (Visual Studio Community 2019)
Languages:
Java: 16.0.1 - /c/Program Files/Common Files/Oracle/Java/javapath/javac
Perl: 5.32.1 - C:\Program Files\Git\usr\bin\perl.EXE
Python: 3.7.9 - /c/Users/amanoharan/AppData/Local/Programs/Python/Python37/python
Browsers:
Chrome: 93.0.4577.63
Edge: Spartan (44.19041.1023.0), Chromium (93.0.961.47)
Internet Explorer: 11.0.19041.906
Using Chrome
`npx @mui/envinfo`
The text was updated successfully, but these errors were encountered: