{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/4193","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/4193/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/4193/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/4193/events","html_url":"https://github.com/Microsoft/TypeScript/pull/4193","id":99505872,"number":4193,"title":"TEST UNIT with BUG REPORT: .d.ts missing generics of type definitions","user":{"login":"thr0w","id":376148,"avatar_url":"https://avatars.githubusercontent.com/u/376148?v=3","gravatar_id":"","url":"https://api.github.com/users/thr0w","html_url":"https://github.com/thr0w","followers_url":"https://api.github.com/users/thr0w/followers","following_url":"https://api.github.com/users/thr0w/following{/other_user}","gists_url":"https://api.github.com/users/thr0w/gists{/gist_id}","starred_url":"https://api.github.com/users/thr0w/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thr0w/subscriptions","organizations_url":"https://api.github.com/users/thr0w/orgs","repos_url":"https://api.github.com/users/thr0w/repos","events_url":"https://api.github.com/users/thr0w/events{/privacy}","received_events_url":"https://api.github.com/users/thr0w/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/cla-required","name":"cla-required","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-06T19:17:19Z","updated_at":"2015-08-06T19:25:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/4193","html_url":"https://github.com/Microsoft/TypeScript/pull/4193","diff_url":"https://github.com/Microsoft/TypeScript/pull/4193.diff","patch_url":"https://github.com/Microsoft/TypeScript/pull/4193.patch"},"body":"hi, i'm trying to export a callback definition with generics.\r\n```\r\nexport type Callback<T> = () => T;\r\n```\r\nbug the generated .d.ts file was:\r\n```\r\nexport declare type Callback = () => T;\r\n```\r\n>> missing <T> after Callback.\r\n\r\nCan someone help me?\r\n\r\nI wrote a test to that case, 'cause maybe it's a compiler bug."},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/128480298","html_url":"https://github.com/Microsoft/TypeScript/pull/4193#issuecomment-128480298","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/4193","id":128480298,"user":{"login":"msftclas","id":9287708,"avatar_url":"https://avatars.githubusercontent.com/u/9287708?v=3","gravatar_id":"","url":"https://api.github.com/users/msftclas","html_url":"https://github.com/msftclas","followers_url":"https://api.github.com/users/msftclas/followers","following_url":"https://api.github.com/users/msftclas/following{/other_user}","gists_url":"https://api.github.com/users/msftclas/gists{/gist_id}","starred_url":"https://api.github.com/users/msftclas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msftclas/subscriptions","organizations_url":"https://api.github.com/users/msftclas/orgs","repos_url":"https://api.github.com/users/msftclas/repos","events_url":"https://api.github.com/users/msftclas/events{/privacy}","received_events_url":"https://api.github.com/users/msftclas/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T19:25:14Z","updated_at":"2015-08-06T19:25:14Z","body":"__@thr0w__, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.\r\n<br />Thanks, MSBOT;"}}