Comments (5)
@danghieuliem until DefinitelyTyped/DefinitelyTyped/pull/69341 is not merged, react type redeclaration may help you
declare const UNDEFINED_VOID_ONLY: unique symbol;
declare module "react" {
export type VoidOrUndefinedOnly = void | { [UNDEFINED_VOID_ONLY]: never };
}
from material-ui.
@danghieuliem until DefinitelyTyped/DefinitelyTyped/pull/69341 is not merged, react type redeclaration may help you
declare const UNDEFINED_VOID_ONLY: unique symbol; declare module "react" { export type VoidOrUndefinedOnly = void | { [UNDEFINED_VOID_ONLY]: never }; }
It work for me. Thank you! @pompep
from material-ui.
@danghieuliem I can't reproduce this in your stackblitz - did you screenshot your error from there?
from material-ui.
Hi @mj12albert ! This error is from my local source code. It throws an error when I export static files in Next.js.
![Screenshot 2024-05-04 at 09 16 26](https://private-user-images.githubusercontent.com/60537515/327912540-6f46573b-f35f-4add-ae11-e0f6b724feea.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM5MDA5MTYsIm5iZiI6MTcyMzkwMDYxNiwicGF0aCI6Ii82MDUzNzUxNS8zMjc5MTI1NDAtNmY0NjU3M2ItZjM1Zi00YWRkLWFlMTEtZTBmNmI3MjRmZWVhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE3VDEzMTY1NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJiZWU1ZDMzZTgyMWViMjhkYmU5MDA4ZTM2ZWNlYzFlMGFhMjA2YTJiYTU0NTBiYTlmODFiNDQ3ODFiNmI2NWMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.ZFGjU7zW4Sgb32mjWf8HDHDfo6Fptwaejk_RzVMActI)
from material-ui.
@danghieuliem I'll close this issue then. Doesn't look related to MUI.
from material-ui.
Related Issues (20)
- Material UI 6 CssVarsProvider causes Suspense to reload async components HOT 3
- Can't integrate latest next.js with pages router with MUI
- Microsoft Ribbon Style HOT 3
- [RFC] Change Checkbox padding from 9px to 8px
- [material-ui][Divider] Add aria-orientation
- Accordion's bottom outline disappears when expanded (only in safari)
- [Typography] text color not working in v6 + Pigment CSS HOT 12
- [joy-ui][Select] Alignment problem for listbox of Select HOT 1
- Select with text input not working in your website demo HOT 1
- Cannot run React MUI - TypeError: can't access property "jsx", H is undefined HOT 2
- FocusTrap should not scroll the page HOT 3
- [docs] expand on sx performance tradeoff HOT 1
- type checking and auto completion stops working when importing from @react-three/fiber HOT 2
- [material-ui][Modal] Bring back transition component in test that fails with React 19
- [material-ui][Switch] Doesn't show initial value when true HOT 2
- [joy-ui] Consider supporting system props in Sheet HOT 1
- [colorManipulator] lighten/darken a CSS var() color HOT 4
- [joy-ui][Autocomplete] autoComplete, autoHighlight, autoSelect, includeInputInList and selectOnFocus are not working HOT 1
- TypeError: Cannot read properties of undefined (reading 'isRequired') HOT 1
- Allow Menu Items to be focused via keyboard when wrapped in <span> and <Tooltip> tags
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from material-ui.