{"action":"closed","issue":{"url":"https://api.github.com/repos/alangpierce/sucrase/issues/235","repository_url":"https://api.github.com/repos/alangpierce/sucrase","labels_url":"https://api.github.com/repos/alangpierce/sucrase/issues/235/labels{/name}","comments_url":"https://api.github.com/repos/alangpierce/sucrase/issues/235/comments","events_url":"https://api.github.com/repos/alangpierce/sucrase/issues/235/events","html_url":"https://github.com/alangpierce/sucrase/issues/235","id":329467043,"node_id":"MDU6SXNzdWUzMjk0NjcwNDM=","number":235,"title":"Class Fields","user":{"login":"rkichenama","id":1634457,"node_id":"MDQ6VXNlcjE2MzQ0NTc=","avatar_url":"https://avatars3.githubusercontent.com/u/1634457?v=4","gravatar_id":"","url":"https://api.github.com/users/rkichenama","html_url":"https://github.com/rkichenama","followers_url":"https://api.github.com/users/rkichenama/followers","following_url":"https://api.github.com/users/rkichenama/following{/other_user}","gists_url":"https://api.github.com/users/rkichenama/gists{/gist_id}","starred_url":"https://api.github.com/users/rkichenama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkichenama/subscriptions","organizations_url":"https://api.github.com/users/rkichenama/orgs","repos_url":"https://api.github.com/users/rkichenama/repos","events_url":"https://api.github.com/users/rkichenama/events{/privacy}","received_events_url":"https://api.github.com/users/rkichenama/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-05T13:53:12Z","updated_at":"2018-06-25T04:36:35Z","closed_at":"2018-06-25T04:36:35Z","author_association":"NONE","body":"When attempting to test out the transpiling via the online tool, I found that it would throw an error when attempting to process class properties; Expected `rhsEndIndex` on class field assignment.\r\n\r\n```\r\nimport React, { Component } from 'react';\r\nimport PropTypes from 'prop-types';\r\n\r\nexport default class Paginate extends Component {\r\n  static propTypes = {\r\n    count: PropTypes.number.isRequired\r\n  }\r\n\r\n  render () {\r\n    const {\r\n      props: { count, size }\r\n    } = this;\r\n\r\n    return (\r\n      <section className='paginate'>\r\n        <div>{count} total row(s)</div>\r\n      </section>\r\n    );\r\n  }\r\n}\r\n```"}}
{"actor":{"display_login":"alangpierce"}}