You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@KingSora this is consistent with the work of javascript, for example, when destructuring objects, you can assign a default value that will be applied regardless of whether the object has an undefined value or is not defined at all:
constsource={a: undefined};const{ a =1, b =2}=source;console.log(a,b)// 1 2
In my case i have component that passes a value to an internal component OverlayScrollbarsComponent:
Describe the bug
I use react version like this:
TypeScript types say that overflow is not required options so there is no type check errors
But when i render it then it fails with error:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
undefined value should be interpreted as not provided overflow option i think
The text was updated successfully, but these errors were encountered: