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.
Following types seem not be correct:
unistore/react.d.ts
Lines 14 to 15 in 8078bb2
React.FConly accepts props and no state, I guess this is by mistake.