TypeScript type checking JSX children
This is because the definition file for React is not updated.
The definition file needs to include interface ElementChildrenAttribute { children: {}; }
so that TypeScript compiler known the name of the "children" property.
PR to update the definition file: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/16327)