{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/12525","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/12525/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/12525/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/12525/events","html_url":"https://github.com/Microsoft/TypeScript/issues/12525","id":191865382,"number":12525,"title":"why is type T = (x: T) => void valid whereas T = T isnt?","user":{"login":"aleksey-bykov","id":937933,"avatar_url":"https://avatars.githubusercontent.com/u/937933?v=3","gravatar_id":"","url":"https://api.github.com/users/aleksey-bykov","html_url":"https://github.com/aleksey-bykov","followers_url":"https://api.github.com/users/aleksey-bykov/followers","following_url":"https://api.github.com/users/aleksey-bykov/following{/other_user}","gists_url":"https://api.github.com/users/aleksey-bykov/gists{/gist_id}","starred_url":"https://api.github.com/users/aleksey-bykov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleksey-bykov/subscriptions","organizations_url":"https://api.github.com/users/aleksey-bykov/orgs","repos_url":"https://api.github.com/users/aleksey-bykov/repos","events_url":"https://api.github.com/users/aleksey-bykov/events{/privacy}","received_events_url":"https://api.github.com/users/aleksey-bykov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-27T14:52:19Z","updated_at":"2016-11-28T01:52:37Z","closed_at":null,"body":"nightly build Nov 27, 2016:\r\n```\r\ntype U = U; // problem: Type alias 'U' circularly references itself.\r\ntype T = (value: T) => void; // ok, but why?\r\n```"},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/263166190","html_url":"https://github.com/Microsoft/TypeScript/issues/12525#issuecomment-263166190","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/12525","id":263166190,"user":{"login":"HerringtonDarkholme","id":2883231,"avatar_url":"https://avatars.githubusercontent.com/u/2883231?v=3","gravatar_id":"","url":"https://api.github.com/users/HerringtonDarkholme","html_url":"https://github.com/HerringtonDarkholme","followers_url":"https://api.github.com/users/HerringtonDarkholme/followers","following_url":"https://api.github.com/users/HerringtonDarkholme/following{/other_user}","gists_url":"https://api.github.com/users/HerringtonDarkholme/gists{/gist_id}","starred_url":"https://api.github.com/users/HerringtonDarkholme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HerringtonDarkholme/subscriptions","organizations_url":"https://api.github.com/users/HerringtonDarkholme/orgs","repos_url":"https://api.github.com/users/HerringtonDarkholme/repos","events_url":"https://api.github.com/users/HerringtonDarkholme/events{/privacy}","received_events_url":"https://api.github.com/users/HerringtonDarkholme/received_events","type":"User","site_admin":false},"created_at":"2016-11-28T01:52:37Z","updated_at":"2016-11-28T01:52:37Z","body":"https://github.com/Microsoft/TypeScript/blob/master/doc/spec.md#310-type-aliases\r\n\r\n> Note that object type literals, function type literals, and constructor type literals do not depend on types referenced within them and are therefore permitted to circularly reference themselves through type aliases."}}
{"actor":{"display_login":"HerringtonDarkholme"}}