{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/13229","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/13229/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/13229/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/13229/events","html_url":"https://github.com/Microsoft/TypeScript/issues/13229","id":198164299,"number":13229,"title":"Unexpected Operator '===' cannot be applied to types 'false' and 'true'.","user":{"login":"Strate","id":392644,"avatar_url":"https://avatars.githubusercontent.com/u/392644?v=3","gravatar_id":"","url":"https://api.github.com/users/Strate","html_url":"https://github.com/Strate","followers_url":"https://api.github.com/users/Strate/followers","following_url":"https://api.github.com/users/Strate/following{/other_user}","gists_url":"https://api.github.com/users/Strate/gists{/gist_id}","starred_url":"https://api.github.com/users/Strate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Strate/subscriptions","organizations_url":"https://api.github.com/users/Strate/orgs","repos_url":"https://api.github.com/users/Strate/repos","events_url":"https://api.github.com/users/Strate/events{/privacy}","received_events_url":"https://api.github.com/users/Strate/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":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-30T16:05:59Z","updated_at":"2016-12-30T16:48:49Z","closed_at":null,"body":"<!-- BUGS: Please use this template. -->\r\n<!-- QUESTIONS: This is not a general support forum! Ask Qs at http://stackoverflow.com/questions/tagged/typescript -->\r\n<!-- SUGGESTIONS: See https://github.com/Microsoft/TypeScript-wiki/blob/master/Writing-Good-Design-Proposals.md -->\r\n\r\n**TypeScript Version:**  2.1.4\r\n\r\n**Code**\r\n\r\n```tsx\r\nlet a = false\r\nfunction change() {\r\n  a = true\r\n}\r\nchange()\r\nconst b = a === true\r\n```\r\n\r\n**Expected behavior:**\r\nNo error\r\n\r\n**Actual behavior:**\r\nerror TS2365: Operator '===' cannot be applied to types 'false' and 'true'.\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/269793582","html_url":"https://github.com/Microsoft/TypeScript/issues/13229#issuecomment-269793582","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/13229","id":269793582,"user":{"login":"RyanCavanaugh","id":6685088,"avatar_url":"https://avatars.githubusercontent.com/u/6685088?v=3","gravatar_id":"","url":"https://api.github.com/users/RyanCavanaugh","html_url":"https://github.com/RyanCavanaugh","followers_url":"https://api.github.com/users/RyanCavanaugh/followers","following_url":"https://api.github.com/users/RyanCavanaugh/following{/other_user}","gists_url":"https://api.github.com/users/RyanCavanaugh/gists{/gist_id}","starred_url":"https://api.github.com/users/RyanCavanaugh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyanCavanaugh/subscriptions","organizations_url":"https://api.github.com/users/RyanCavanaugh/orgs","repos_url":"https://api.github.com/users/RyanCavanaugh/repos","events_url":"https://api.github.com/users/RyanCavanaugh/events{/privacy}","received_events_url":"https://api.github.com/users/RyanCavanaugh/received_events","type":"User","site_admin":false},"created_at":"2016-12-30T16:48:49Z","updated_at":"2016-12-30T16:48:49Z","body":"See #9998. Can I ask how you didn't find #11178 or #12772 when searching?"}}
{"actor":{"display_login":"RyanCavanaugh"}}