@types/react package and had "problems".Definitions by: in index.d.ts) so they can respond.Typescript: Version 2.5.0-dev.20170803
Currently the type for React.Component::render does not support an array of elements as return type, yet they are supported by React 16 (Fiber).
One could simply change the function type to:
render(): JSX.Element | JSX.Element[] | null | false;
But I am not quire sure about react-dom's render function which has many overloads.
Ping.
Most helpful comment
19363