{"action":"reopened","issue":{"url":"https://api.github.com/repos/brigand/babel-plugin-flow-react-proptypes/issues/131","repository_url":"https://api.github.com/repos/brigand/babel-plugin-flow-react-proptypes","labels_url":"https://api.github.com/repos/brigand/babel-plugin-flow-react-proptypes/issues/131/labels{/name}","comments_url":"https://api.github.com/repos/brigand/babel-plugin-flow-react-proptypes/issues/131/comments","events_url":"https://api.github.com/repos/brigand/babel-plugin-flow-react-proptypes/issues/131/events","html_url":"https://github.com/brigand/babel-plugin-flow-react-proptypes/issues/131","id":257082720,"number":131,"title":"Void Union Prop Types marked as Required","user":{"login":"ghickman","id":31017,"avatar_url":"https://avatars0.githubusercontent.com/u/31017?v=4","gravatar_id":"","url":"https://api.github.com/users/ghickman","html_url":"https://github.com/ghickman","followers_url":"https://api.github.com/users/ghickman/followers","following_url":"https://api.github.com/users/ghickman/following{/other_user}","gists_url":"https://api.github.com/users/ghickman/gists{/gist_id}","starred_url":"https://api.github.com/users/ghickman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghickman/subscriptions","organizations_url":"https://api.github.com/users/ghickman/orgs","repos_url":"https://api.github.com/users/ghickman/repos","events_url":"https://api.github.com/users/ghickman/events{/privacy}","received_events_url":"https://api.github.com/users/ghickman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-09-12T15:18:21Z","updated_at":"2017-09-15T20:03:55Z","closed_at":null,"author_association":"NONE","body":"When setting up a prop type as:\r\n\r\n`foo: Foo | void`\r\n\r\nI get the following warning in my console:\r\n\r\n> Warning: Failed prop type: The prop `foo` is marked as required in `MyComponent`, but it's value is `undefined`.\r\n\r\nI can make the warning go away by changing the prop definition to:\r\n\r\n`foo? Foo`\r\n\r\nbut of course this changes the meaning of my type def."}}
{"actor":{"display_login":"brigand"}}