// @flow
import React from "React";
class JDiv extends React.Component {
// static defaultProps: { };
props: {
id: string
};
}
// Should be a type error ('id' takes a string, not a number..)
;
class Example extends React.Component {
props: { bar: string };
render() {
return