Closed
Description
Hi,
with the latest Flow@0.53
the Type detection for prop types is broken.
Before
import React from 'react';
type Props = {
foo: string,
};
class Bar extends React.Component {
props: Props;
}
After
import * as React from 'react';
type Props = {
foo: string,
};
class Bar extends React.Component<Props> {}
'foo' is missing in props validation (react/prop-type)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment