{"action":"created","issue":{"url":"https://api.github.com/repos/Kegsay/flow-jsdoc/issues/10","repository_url":"https://api.github.com/repos/Kegsay/flow-jsdoc","labels_url":"https://api.github.com/repos/Kegsay/flow-jsdoc/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/Kegsay/flow-jsdoc/issues/10/comments","events_url":"https://api.github.com/repos/Kegsay/flow-jsdoc/issues/10/events","html_url":"https://github.com/Kegsay/flow-jsdoc/issues/10","id":199474615,"number":10,"title":"Object spread","user":{"login":"eddiemoore","id":199016,"avatar_url":"https://avatars.githubusercontent.com/u/199016?v=3","gravatar_id":"","url":"https://api.github.com/users/eddiemoore","html_url":"https://github.com/eddiemoore","followers_url":"https://api.github.com/users/eddiemoore/followers","following_url":"https://api.github.com/users/eddiemoore/following{/other_user}","gists_url":"https://api.github.com/users/eddiemoore/gists{/gist_id}","starred_url":"https://api.github.com/users/eddiemoore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eddiemoore/subscriptions","organizations_url":"https://api.github.com/users/eddiemoore/orgs","repos_url":"https://api.github.com/users/eddiemoore/repos","events_url":"https://api.github.com/users/eddiemoore/events{/privacy}","received_events_url":"https://api.github.com/users/eddiemoore/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-01-09T04:10:51Z","updated_at":"2017-01-19T16:15:27Z","closed_at":null,"body":"Seems that object spread doesn't work when converting.\r\n```js\r\n// Doesn't work\r\nreturn fetch(url, {\r\n    ...opts,\r\n    headers,\r\n})\r\n\r\n// Works\r\nreturn fetch(url, Object.assign({}, opts, {\r\n    headers,\r\n}))\r\n```\r\n```shell\r\n/XXX/node_modules/flow-jsdoc/app.js:84\r\n                    throw err;\r\n                    ^\r\nError: Line 33: Unexpected token ...\r\n    at ErrorHandler.constructError (/XXX/node_modules/esprima/dist/esprima.js:3386:22)\r\n    at ErrorHandler.createError (/XXX/node_modules/esprima/dist/esprima.js:3404:27)\r\n    at JSXParser.Parser.unexpectedTokenError (/XXX/node_modules/esprima/dist/esprima.js:541:39)\r\n    at JSXParser.Parser.throwUnexpectedToken (/XXX/node_modules/esprima/dist/esprima.js:551:21)\r\n    at JSXParser.Parser.parseObjectPropertyKey (/XXX/node_modules/esprima/dist/esprima.js:1034:27)\r\n    at JSXParser.Parser.parseObjectProperty (/XXX/node_modules/esprima/dist/esprima.js:1074:25)\r\n    at JSXParser.Parser.parseObjectInitializer (/XXX/node_modules/esprima/dist/esprima.js:1140:35)\r\n    at JSXParser.Parser.inheritCoverGrammar (/XXX/node_modules/esprima/dist/esprima.js:832:37)\r\n    at JSXParser.Parser.parsePrimaryExpression (/XXX/node_modules/esprima/dist/esprima.js:904:38)\r\n    at JSXParser.parsePrimaryExpression (/XXX/node_modules/esprima/dist/esprima.js:5355:97)\r\nerror Command failed with exit code 1.\r\n```"},"comment":{"url":"https://api.github.com/repos/Kegsay/flow-jsdoc/issues/comments/273820274","html_url":"https://github.com/Kegsay/flow-jsdoc/issues/10#issuecomment-273820274","issue_url":"https://api.github.com/repos/Kegsay/flow-jsdoc/issues/10","id":273820274,"user":{"login":"Kegsay","id":7190048,"avatar_url":"https://avatars.githubusercontent.com/u/7190048?v=3","gravatar_id":"","url":"https://api.github.com/users/Kegsay","html_url":"https://github.com/Kegsay","followers_url":"https://api.github.com/users/Kegsay/followers","following_url":"https://api.github.com/users/Kegsay/following{/other_user}","gists_url":"https://api.github.com/users/Kegsay/gists{/gist_id}","starred_url":"https://api.github.com/users/Kegsay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kegsay/subscriptions","organizations_url":"https://api.github.com/users/Kegsay/orgs","repos_url":"https://api.github.com/users/Kegsay/repos","events_url":"https://api.github.com/users/Kegsay/events{/privacy}","received_events_url":"https://api.github.com/users/Kegsay/received_events","type":"User","site_admin":false},"created_at":"2017-01-19T16:15:27Z","updated_at":"2017-01-19T16:15:27Z","body":"@wardpeet Great site, didn't know that existed! 😄 Yeah it looks like **object** spread isn't supported yet 😢 "}}
{"actor":{"display_login":"Kegsay"}}