{"action":"opened","number":11156,"pull_request":{"url":"https://api.github.com/repos/mui-org/material-ui/pulls/11156","id":184393124,"html_url":"https://github.com/mui-org/material-ui/pull/11156","diff_url":"https://github.com/mui-org/material-ui/pull/11156.diff","patch_url":"https://github.com/mui-org/material-ui/pull/11156.patch","issue_url":"https://api.github.com/repos/mui-org/material-ui/issues/11156","number":11156,"state":"open","locked":false,"title":"Fix constraint on withStyles P parameter to allow StyledComponentProps","user":{"login":"pelotom","id":128019,"avatar_url":"https://avatars2.githubusercontent.com/u/128019?v=4","gravatar_id":"","url":"https://api.github.com/users/pelotom","html_url":"https://github.com/pelotom","followers_url":"https://api.github.com/users/pelotom/followers","following_url":"https://api.github.com/users/pelotom/following{/other_user}","gists_url":"https://api.github.com/users/pelotom/gists{/gist_id}","starred_url":"https://api.github.com/users/pelotom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pelotom/subscriptions","organizations_url":"https://api.github.com/users/pelotom/orgs","repos_url":"https://api.github.com/users/pelotom/repos","events_url":"https://api.github.com/users/pelotom/events{/privacy}","received_events_url":"https://api.github.com/users/pelotom/received_events","type":"User","site_admin":false},"body":"The signature of `withStyles` wasn't quite right, because it disallowed using props that extend `StyledComponentProps`, e.g.\r\n\r\n```ts\r\ninterface FooProps extends StyledComponentProps<'x' | 'y'> {\r\n  a: number\r\n  b: boolean\r\n}\r\n  \r\nconst ListItemContent = styles<ListItemContentProps>(props => ...);\r\n```","created_at":"2018-04-26T16:15:51Z","updated_at":"2018-04-26T16:15:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mui-org/material-ui/pulls/11156/commits","review_comments_url":"https://api.github.com/repos/mui-org/material-ui/pulls/11156/comments","review_comment_url":"https://api.github.com/repos/mui-org/material-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mui-org/material-ui/issues/11156/comments","statuses_url":"https://api.github.com/repos/mui-org/material-ui/statuses/1dca92e4f5375899a889906d870445a32bb9c869","head":{"label":"pelotom:fix-with-styles","ref":"fix-with-styles","sha":"1dca92e4f5375899a889906d870445a32bb9c869","user":{"login":"pelotom","id":128019,"avatar_url":"https://avatars2.githubusercontent.com/u/128019?v=4","gravatar_id":"","url":"https://api.github.com/users/pelotom","html_url":"https://github.com/pelotom","followers_url":"https://api.github.com/users/pelotom/followers","following_url":"https://api.github.com/users/pelotom/following{/other_user}","gists_url":"https://api.github.com/users/pelotom/gists{/gist_id}","starred_url":"https://api.github.com/users/pelotom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pelotom/subscriptions","organizations_url":"https://api.github.com/users/pelotom/orgs","repos_url":"https://api.github.com/users/pelotom/repos","events_url":"https://api.github.com/users/pelotom/events{/privacy}","received_events_url":"https://api.github.com/users/pelotom/received_events","type":"User","site_admin":false},"repo":{"id":104239389,"name":"material-ui","full_name":"pelotom/material-ui","owner":{"login":"pelotom","id":128019,"avatar_url":"https://avatars2.githubusercontent.com/u/128019?v=4","gravatar_id":"","url":"https://api.github.com/users/pelotom","html_url":"https://github.com/pelotom","followers_url":"https://api.github.com/users/pelotom/followers","following_url":"https://api.github.com/users/pelotom/following{/other_user}","gists_url":"https://api.github.com/users/pelotom/gists{/gist_id}","starred_url":"https://api.github.com/users/pelotom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pelotom/subscriptions","organizations_url":"https://api.github.com/users/pelotom/orgs","repos_url":"https://api.github.com/users/pelotom/repos","events_url":"https://api.github.com/users/pelotom/events{/privacy}","received_events_url":"https://api.github.com/users/pelotom/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pelotom/material-ui","description":"React Components that Implement Google's Material Design.","fork":true,"url":"https://api.github.com/repos/pelotom/material-ui","forks_url":"https://api.github.com/repos/pelotom/material-ui/forks","keys_url":"https://api.github.com/repos/pelotom/material-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pelotom/material-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pelotom/material-ui/teams","hooks_url":"https://api.github.com/repos/pelotom/material-ui/hooks","issue_events_url":"https://api.github.com/repos/pelotom/material-ui/issues/events{/number}","events_url":"https://api.github.com/repos/pelotom/material-ui/events","assignees_url":"https://api.github.com/repos/pelotom/material-ui/assignees{/user}","branches_url":"https://api.github.com/repos/pelotom/material-ui/branches{/branch}","tags_url":"https://api.github.com/repos/pelotom/material-ui/tags","blobs_url":"https://api.github.com/repos/pelotom/material-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pelotom/material-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pelotom/material-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/pelotom/material-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pelotom/material-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/pelotom/material-ui/languages","stargazers_url":"https://api.github.com/repos/pelotom/material-ui/stargazers","contributors_url":"https://api.github.com/repos/pelotom/material-ui/contributors","subscribers_url":"https://api.github.com/repos/pelotom/material-ui/subscribers","subscription_url":"https://api.github.com/repos/pelotom/material-ui/subscription","commits_url":"https://api.github.com/repos/pelotom/material-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/pelotom/material-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/pelotom/material-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/pelotom/material-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/pelotom/material-ui/contents/{+path}","compare_url":"https://api.github.com/repos/pelotom/material-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pelotom/material-ui/merges","archive_url":"https://api.github.com/repos/pelotom/material-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pelotom/material-ui/downloads","issues_url":"https://api.github.com/repos/pelotom/material-ui/issues{/number}","pulls_url":"https://api.github.com/repos/pelotom/material-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/pelotom/material-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/pelotom/material-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pelotom/material-ui/labels{/name}","releases_url":"https://api.github.com/repos/pelotom/material-ui/releases{/id}","deployments_url":"https://api.github.com/repos/pelotom/material-ui/deployments","created_at":"2017-09-20T16:18:02Z","updated_at":"2017-09-20T16:18:08Z","pushed_at":"2018-04-26T16:08:53Z","git_url":"git://github.com/pelotom/material-ui.git","ssh_url":"git@github.com:pelotom/material-ui.git","clone_url":"https://github.com/pelotom/material-ui.git","svn_url":"https://github.com/pelotom/material-ui","homepage":"http://www.material-ui.com","size":36439,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"v1-beta"}},"base":{"label":"mui-org:v1-beta","ref":"v1-beta","sha":"813687f221dfb7b7f63bdee1d05266008839f69d","user":{"login":"mui-org","id":33663932,"avatar_url":"https://avatars2.githubusercontent.com/u/33663932?v=4","gravatar_id":"","url":"https://api.github.com/users/mui-org","html_url":"https://github.com/mui-org","followers_url":"https://api.github.com/users/mui-org/followers","following_url":"https://api.github.com/users/mui-org/following{/other_user}","gists_url":"https://api.github.com/users/mui-org/gists{/gist_id}","starred_url":"https://api.github.com/users/mui-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mui-org/subscriptions","organizations_url":"https://api.github.com/users/mui-org/orgs","repos_url":"https://api.github.com/users/mui-org/repos","events_url":"https://api.github.com/users/mui-org/events{/privacy}","received_events_url":"https://api.github.com/users/mui-org/received_events","type":"Organization","site_admin":false},"repo":{"id":23083156,"name":"material-ui","full_name":"mui-org/material-ui","owner":{"login":"mui-org","id":33663932,"avatar_url":"https://avatars2.githubusercontent.com/u/33663932?v=4","gravatar_id":"","url":"https://api.github.com/users/mui-org","html_url":"https://github.com/mui-org","followers_url":"https://api.github.com/users/mui-org/followers","following_url":"https://api.github.com/users/mui-org/following{/other_user}","gists_url":"https://api.github.com/users/mui-org/gists{/gist_id}","starred_url":"https://api.github.com/users/mui-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mui-org/subscriptions","organizations_url":"https://api.github.com/users/mui-org/orgs","repos_url":"https://api.github.com/users/mui-org/repos","events_url":"https://api.github.com/users/mui-org/events{/privacy}","received_events_url":"https://api.github.com/users/mui-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mui-org/material-ui","description":"React components that implement Google's Material Design.","fork":false,"url":"https://api.github.com/repos/mui-org/material-ui","forks_url":"https://api.github.com/repos/mui-org/material-ui/forks","keys_url":"https://api.github.com/repos/mui-org/material-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mui-org/material-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mui-org/material-ui/teams","hooks_url":"https://api.github.com/repos/mui-org/material-ui/hooks","issue_events_url":"https://api.github.com/repos/mui-org/material-ui/issues/events{/number}","events_url":"https://api.github.com/repos/mui-org/material-ui/events","assignees_url":"https://api.github.com/repos/mui-org/material-ui/assignees{/user}","branches_url":"https://api.github.com/repos/mui-org/material-ui/branches{/branch}","tags_url":"https://api.github.com/repos/mui-org/material-ui/tags","blobs_url":"https://api.github.com/repos/mui-org/material-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mui-org/material-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mui-org/material-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/mui-org/material-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mui-org/material-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/mui-org/material-ui/languages","stargazers_url":"https://api.github.com/repos/mui-org/material-ui/stargazers","contributors_url":"https://api.github.com/repos/mui-org/material-ui/contributors","subscribers_url":"https://api.github.com/repos/mui-org/material-ui/subscribers","subscription_url":"https://api.github.com/repos/mui-org/material-ui/subscription","commits_url":"https://api.github.com/repos/mui-org/material-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/mui-org/material-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/mui-org/material-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/mui-org/material-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/mui-org/material-ui/contents/{+path}","compare_url":"https://api.github.com/repos/mui-org/material-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mui-org/material-ui/merges","archive_url":"https://api.github.com/repos/mui-org/material-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mui-org/material-ui/downloads","issues_url":"https://api.github.com/repos/mui-org/material-ui/issues{/number}","pulls_url":"https://api.github.com/repos/mui-org/material-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/mui-org/material-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/mui-org/material-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mui-org/material-ui/labels{/name}","releases_url":"https://api.github.com/repos/mui-org/material-ui/releases{/id}","deployments_url":"https://api.github.com/repos/mui-org/material-ui/deployments","created_at":"2014-08-18T19:11:54Z","updated_at":"2018-04-26T15:58:22Z","pushed_at":"2018-04-26T10:36:05Z","git_url":"git://github.com/mui-org/material-ui.git","ssh_url":"git@github.com:mui-org/material-ui.git","clone_url":"https://github.com/mui-org/material-ui.git","svn_url":"https://github.com/mui-org/material-ui","homepage":"http://www.material-ui.com","size":38491,"stargazers_count":35220,"watchers_count":35220,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6459,"mirror_url":null,"archived":false,"open_issues_count":160,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":6459,"open_issues":160,"watchers":35220,"default_branch":"v1-beta"}},"_links":{"self":{"href":"https://api.github.com/repos/mui-org/material-ui/pulls/11156"},"html":{"href":"https://github.com/mui-org/material-ui/pull/11156"},"issue":{"href":"https://api.github.com/repos/mui-org/material-ui/issues/11156"},"comments":{"href":"https://api.github.com/repos/mui-org/material-ui/issues/11156/comments"},"review_comments":{"href":"https://api.github.com/repos/mui-org/material-ui/pulls/11156/comments"},"review_comment":{"href":"https://api.github.com/repos/mui-org/material-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mui-org/material-ui/pulls/11156/commits"},"statuses":{"href":"https://api.github.com/repos/mui-org/material-ui/statuses/1dca92e4f5375899a889906d870445a32bb9c869"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":45,"deletions":2,"changed_files":2}}
{"actor":{"display_login":"pelotom"}}