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
Type '{ children: Element[]; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<ResizablePanel> & Readonly<{ children?: ReactNode;...'.
Type '{ children: Element[]; }' is not assignable to type 'Readonly<ResizablePanelProps>'.
Types of property 'children' are incompatible.
Type 'Element[]' is not assignable to type '[ReactNode, ReactNode]'.
Property '0' is missing in type 'Element[]'.
Activity
RyanCavanaugh commentedon Mar 21, 2018
Wesley Wigham (@weswigham) I think we can just force tuple inference for the JSX children array and this should work automagically. Thoughts?
weswigham commentedon Mar 21, 2018
At least it should be doable to make the tupleness propegate via contextual type like it does elsewhere.
methyl commentedon Oct 5, 2018
Wesley Wigham (@weswigham) amazing, thanks!