Closed
Description
How about add custom children type children: React$NativeNode
for many react native component:
declare type React$NativeNode =
| null
| React$Element<any>
| Iterable<?React$Node>;
It was really useful for the next case:
<View>'test'</View>; // error
<View>{0 && <View id={0}>}</View> // error
Activity