{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/11728","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/11728/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/11728/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/11728/events","html_url":"https://github.com/Microsoft/TypeScript/issues/11728","id":183886150,"number":11728,"title":"Expose isTypeAssignableTo in TypeChecker?","user":{"login":"MeirionHughes","id":3584509,"avatar_url":"https://avatars2.githubusercontent.com/u/3584509?v=4","gravatar_id":"","url":"https://api.github.com/users/MeirionHughes","html_url":"https://github.com/MeirionHughes","followers_url":"https://api.github.com/users/MeirionHughes/followers","following_url":"https://api.github.com/users/MeirionHughes/following{/other_user}","gists_url":"https://api.github.com/users/MeirionHughes/gists{/gist_id}","starred_url":"https://api.github.com/users/MeirionHughes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MeirionHughes/subscriptions","organizations_url":"https://api.github.com/users/MeirionHughes/orgs","repos_url":"https://api.github.com/users/MeirionHughes/repos","events_url":"https://api.github.com/users/MeirionHughes/events{/privacy}","received_events_url":"https://api.github.com/users/MeirionHughes/received_events","type":"User","site_admin":false},"labels":[{"id":113971226,"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Duplicate","name":"Duplicate","color":"f7c6c7","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-10-19T07:30:17Z","updated_at":"2017-11-16T16:57:55Z","closed_at":"2017-11-16T16:57:55Z","author_association":"NONE","body":"I would like to determine if one Type is assignable to another Type. So far I've only found the type comparison and checking functions in checker.ts, but that entire file is marked internal. \n\nIs there a way to determine if one type is assignable to another using the exposed typescript library? A question to this effect on StackOverflow has not been answered. If not, could such functionality be added, say to `TypeChecker`?\n"}}
{"actor":{"display_login":"typescript-bot"}}