Why does the following react-native code give typescript error?
type ContainerProps = BaseProps & {
children: React.ChildrenArray<React.ReactElement<any>>;
withGutter?: boolean;
};
any Namespace 'React' has no exported member 'ChildrenArray'.ts(2694)
What is the correct expression instead? This was originally flow based js code being converted to typescript...