brigand / brigand/babel-plugin-flow-react-proptypes

Union + Intersection

Open
#160 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
427
Forks
42
PR merge metrics
No merged PRs in 30d

Description

Ran into this with the following code:

```js
type BaseProps = {
x: string,
}

type Props = BaseProps | (BaseProps & {
y: string,
})
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.