{"action":"created","issue":{"url":"https://api.github.com/repos/typestack/routing-controllers/issues/356","repository_url":"https://api.github.com/repos/typestack/routing-controllers","labels_url":"https://api.github.com/repos/typestack/routing-controllers/issues/356/labels{/name}","comments_url":"https://api.github.com/repos/typestack/routing-controllers/issues/356/comments","events_url":"https://api.github.com/repos/typestack/routing-controllers/issues/356/events","html_url":"https://github.com/typestack/routing-controllers/issues/356","id":289624754,"number":356,"title":"how to use javascript?","user":{"login":"semmy2010","id":4402907,"avatar_url":"https://avatars1.githubusercontent.com/u/4402907?v=4","gravatar_id":"","url":"https://api.github.com/users/semmy2010","html_url":"https://github.com/semmy2010","followers_url":"https://api.github.com/users/semmy2010/followers","following_url":"https://api.github.com/users/semmy2010/following{/other_user}","gists_url":"https://api.github.com/users/semmy2010/gists{/gist_id}","starred_url":"https://api.github.com/users/semmy2010/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/semmy2010/subscriptions","organizations_url":"https://api.github.com/users/semmy2010/orgs","repos_url":"https://api.github.com/users/semmy2010/repos","events_url":"https://api.github.com/users/semmy2010/events{/privacy}","received_events_url":"https://api.github.com/users/semmy2010/received_events","type":"User","site_admin":false},"labels":[{"id":267047619,"url":"https://api.github.com/repos/typestack/routing-controllers/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-01-18T13:16:21Z","updated_at":"2018-02-07T11:55:34Z","closed_at":"2018-02-07T11:55:34Z","author_association":"NONE","body":"Is this library can provide javascript use, not the use of typescript, I found that when I use javascript, the following code does not work, getOne method parameter `id` becomes `undefined`.\r\n\r\n```ts\r\n@Get('/users/:id')\r\ngetOne(@Param('id') id: number) {\r\n  console.log(id);\r\n  return 'This action returns user #' + id;\r\n}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/typestack/routing-controllers/issues/comments/363746845","html_url":"https://github.com/typestack/routing-controllers/issues/356#issuecomment-363746845","issue_url":"https://api.github.com/repos/typestack/routing-controllers/issues/356","id":363746845,"user":{"login":"19majkel94","id":10618781,"avatar_url":"https://avatars1.githubusercontent.com/u/10618781?v=4","gravatar_id":"","url":"https://api.github.com/users/19majkel94","html_url":"https://github.com/19majkel94","followers_url":"https://api.github.com/users/19majkel94/followers","following_url":"https://api.github.com/users/19majkel94/following{/other_user}","gists_url":"https://api.github.com/users/19majkel94/gists{/gist_id}","starred_url":"https://api.github.com/users/19majkel94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/19majkel94/subscriptions","organizations_url":"https://api.github.com/users/19majkel94/orgs","repos_url":"https://api.github.com/users/19majkel94/repos","events_url":"https://api.github.com/users/19majkel94/events{/privacy}","received_events_url":"https://api.github.com/users/19majkel94/received_events","type":"User","site_admin":false},"created_at":"2018-02-07T11:55:34Z","updated_at":"2018-02-07T11:55:34Z","author_association":"MEMBER","body":"I can only recommend you to switch from the babel (and it's amusement of configs and presets) and flow to TypeScript - one simple config and everything works out of the box 😉  \r\n\r\n"}}
{"actor":{"display_login":"19majkel94"}}