Following types seem not be correct:
|
Child: ((props: T & I) => React.ReactNode) | React.ComponentClass<T & I, S> | React.FC<T & I, S> |
|
) => React.ComponentClass<T | T & I, S> | React.FC<T | T & I, S>; |
React.FC only accepts props and no state, I guess this is by mistake.