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
This should be valid but the expression returns the following error:
Type 'Element[]' is missing the following properties from type 'VNode<{}>': type, props, key(2739)
(Weirdly enough, without the additional <Route>, no error is returned at all)
Route returns a VNode, not quite sure how in the world that becomes an Element[]. Expanding the children type to be a union of VNode[] | JSXInternal.Element[] allows for some invalid children that will break routing, so that's seemingly a no-go.
Not quite sure what the correct type is meant to be here.
The text was updated successfully, but these errors were encountered:
This should be valid but the expression returns the following error:
(Weirdly enough, without the additional
<Route>
, no error is returned at all)Route
returns aVNode
, not quite sure how in the world that becomes anElement[]
. Expanding the children type to be a union ofVNode[] | JSXInternal.Element[]
allows for some invalid children that will break routing, so that's seemingly a no-go.Not quite sure what the correct type is meant to be here.
The text was updated successfully, but these errors were encountered: