Skip to content

Extracted flow 0.53 props from react component are not recognized #207

@danrot

Description

@danrot

I have just changed our codebase to the new flow types for React (meaning to use stuff as described here).

So my react classes now look like that:

type Props = {
    value: boolean,
};

class MyComponent extends React.Component<Props> {
    // ...
}

These props are then not recognized by the library anymore... I am using version 2.17.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions