{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/3015","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/3015/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/3015/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/3015/events","html_url":"https://github.com/Microsoft/TypeScript/issues/3015","id":72862784,"number":3015,"title":"also emit type arguments with --emitDecoratorMetadata","user":{"login":"hypno2000","id":417241,"avatar_url":"https://avatars.githubusercontent.com/u/417241?v=3","gravatar_id":"","url":"https://api.github.com/users/hypno2000","html_url":"https://github.com/hypno2000","followers_url":"https://api.github.com/users/hypno2000/followers","following_url":"https://api.github.com/users/hypno2000/following{/other_user}","gists_url":"https://api.github.com/users/hypno2000/gists{/gist_id}","starred_url":"https://api.github.com/users/hypno2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hypno2000/subscriptions","organizations_url":"https://api.github.com/users/hypno2000/orgs","repos_url":"https://api.github.com/users/hypno2000/repos","events_url":"https://api.github.com/users/hypno2000/events{/privacy}","received_events_url":"https://api.github.com/users/hypno2000/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/In%20Discussion","name":"In Discussion","color":"556b75"},{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Suggestion","name":"Suggestion","color":"006b75"}],"state":"closed","locked":false,"assignee":{"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},"milestone":null,"comments":14,"created_at":"2015-05-03T20:36:27Z","updated_at":"2015-08-05T21:10:10Z","closed_at":"2015-08-05T21:10:10Z","body":"At the moment:\r\n```ts\r\nclass Article {\r\n   @Relation\r\n   author: OneRelation<User>;\r\n}\r\n```\r\nemits:\r\n```js\r\n__metadata('design:type', OneRelation)\r\n```\r\n\r\nMy suggestion is that that instead of just type it would also include the type args.\r\n\r\nMaybe something like this:\r\n```js\r\n__metadata('design:type', {type: OneRelation, args: [{type: User, args: []}])\r\n```\r\n\r\nWith the latter i don't have to repeat myself in decorator that this is a one relation to user as i have already specified this in type. \r\n\r\nThanks,\r\nReio"}}