Flow allows this without complaint:
import React from 'react';
class Test extends React.Component {
render() {
return <div style={1} bogus="allowed">Test</div>;
}
}
Try
Should we add a disclaimer to this effect to the Flow + React until this level of type-safety is supported?