{"action":"created","issue":{"url":"https://api.github.com/repos/tomduncalf/express-es6-ts-example/issues/1","labels_url":"https://api.github.com/repos/tomduncalf/express-es6-ts-example/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/tomduncalf/express-es6-ts-example/issues/1/comments","events_url":"https://api.github.com/repos/tomduncalf/express-es6-ts-example/issues/1/events","html_url":"https://github.com/tomduncalf/express-es6-ts-example/pull/1","id":114900218,"number":1,"title":"Use --target=ES6 with --module=CommonJs","user":{"login":"mhegazy","id":8000722,"avatar_url":"https://avatars.githubusercontent.com/u/8000722?v=3","gravatar_id":"","url":"https://api.github.com/users/mhegazy","html_url":"https://github.com/mhegazy","followers_url":"https://api.github.com/users/mhegazy/followers","following_url":"https://api.github.com/users/mhegazy/following{/other_user}","gists_url":"https://api.github.com/users/mhegazy/gists{/gist_id}","starred_url":"https://api.github.com/users/mhegazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhegazy/subscriptions","organizations_url":"https://api.github.com/users/mhegazy/orgs","repos_url":"https://api.github.com/users/mhegazy/repos","events_url":"https://api.github.com/users/mhegazy/events{/privacy}","received_events_url":"https://api.github.com/users/mhegazy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-03T20:16:29Z","updated_at":"2015-12-04T04:49:03Z","closed_at":"2015-12-04T04:49:03Z","pull_request":{"url":"https://api.github.com/repos/tomduncalf/express-es6-ts-example/pulls/1","html_url":"https://github.com/tomduncalf/express-es6-ts-example/pull/1","diff_url":"https://github.com/tomduncalf/express-es6-ts-example/pull/1.diff","patch_url":"https://github.com/tomduncalf/express-es6-ts-example/pull/1.patch"},"body":"Since express does not have a defualt export, and node v.4/5 does not support ES6 modules yet, convert the sample to use --target=ES6 and --module=commonJs.\r\n\r\nalso use `import express = require(\"express\")` to allow for loading old style node modules."},"comment":{"url":"https://api.github.com/repos/tomduncalf/express-es6-ts-example/issues/comments/161876272","html_url":"https://github.com/tomduncalf/express-es6-ts-example/pull/1#issuecomment-161876272","issue_url":"https://api.github.com/repos/tomduncalf/express-es6-ts-example/issues/1","id":161876272,"user":{"login":"mhegazy","id":8000722,"avatar_url":"https://avatars.githubusercontent.com/u/8000722?v=3","gravatar_id":"","url":"https://api.github.com/users/mhegazy","html_url":"https://github.com/mhegazy","followers_url":"https://api.github.com/users/mhegazy/followers","following_url":"https://api.github.com/users/mhegazy/following{/other_user}","gists_url":"https://api.github.com/users/mhegazy/gists{/gist_id}","starred_url":"https://api.github.com/users/mhegazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhegazy/subscriptions","organizations_url":"https://api.github.com/users/mhegazy/orgs","repos_url":"https://api.github.com/users/mhegazy/repos","events_url":"https://api.github.com/users/mhegazy/events{/privacy}","received_events_url":"https://api.github.com/users/mhegazy/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T04:49:03Z","updated_at":"2015-12-04T04:49:03Z","body":"do not think this is needed any longer."}}