{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/26090","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/26090/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/26090/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/26090/events","html_url":"https://github.com/Microsoft/TypeScript/issues/26090","id":346248998,"node_id":"MDU6SXNzdWUzNDYyNDg5OTg=","number":26090,"title":"TypeScript 3.0 language service isn't working properly in IE 11 (in Monaco Editor)","user":{"login":"kpreisser","id":13289184,"node_id":"MDQ6VXNlcjEzMjg5MTg0","avatar_url":"https://avatars1.githubusercontent.com/u/13289184?v=4","gravatar_id":"","url":"https://api.github.com/users/kpreisser","html_url":"https://github.com/kpreisser","followers_url":"https://api.github.com/users/kpreisser/followers","following_url":"https://api.github.com/users/kpreisser/following{/other_user}","gists_url":"https://api.github.com/users/kpreisser/gists{/gist_id}","starred_url":"https://api.github.com/users/kpreisser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpreisser/subscriptions","organizations_url":"https://api.github.com/users/kpreisser/orgs","repos_url":"https://api.github.com/users/kpreisser/repos","events_url":"https://api.github.com/users/kpreisser/events{/privacy}","received_events_url":"https://api.github.com/users/kpreisser/received_events","type":"User","site_admin":false},"labels":[{"id":113970366,"node_id":"MDU6TGFiZWwxMTM5NzAzNjY=","url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Bug","name":"Bug","color":"e11d21","default":false}],"state":"open","locked":false,"assignee":{"login":"DanielRosenwasser","id":972891,"node_id":"MDQ6VXNlcjk3Mjg5MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/972891?v=4","gravatar_id":"","url":"https://api.github.com/users/DanielRosenwasser","html_url":"https://github.com/DanielRosenwasser","followers_url":"https://api.github.com/users/DanielRosenwasser/followers","following_url":"https://api.github.com/users/DanielRosenwasser/following{/other_user}","gists_url":"https://api.github.com/users/DanielRosenwasser/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielRosenwasser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielRosenwasser/subscriptions","organizations_url":"https://api.github.com/users/DanielRosenwasser/orgs","repos_url":"https://api.github.com/users/DanielRosenwasser/repos","events_url":"https://api.github.com/users/DanielRosenwasser/events{/privacy}","received_events_url":"https://api.github.com/users/DanielRosenwasser/received_events","type":"User","site_admin":false},"assignees":[{"login":"DanielRosenwasser","id":972891,"node_id":"MDQ6VXNlcjk3Mjg5MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/972891?v=4","gravatar_id":"","url":"https://api.github.com/users/DanielRosenwasser","html_url":"https://github.com/DanielRosenwasser","followers_url":"https://api.github.com/users/DanielRosenwasser/followers","following_url":"https://api.github.com/users/DanielRosenwasser/following{/other_user}","gists_url":"https://api.github.com/users/DanielRosenwasser/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielRosenwasser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielRosenwasser/subscriptions","organizations_url":"https://api.github.com/users/DanielRosenwasser/orgs","repos_url":"https://api.github.com/users/DanielRosenwasser/repos","events_url":"https://api.github.com/users/DanielRosenwasser/events{/privacy}","received_events_url":"https://api.github.com/users/DanielRosenwasser/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Microsoft/TypeScript/milestones/77","html_url":"https://github.com/Microsoft/TypeScript/milestone/77","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/milestones/77/labels","id":3556985,"node_id":"MDk6TWlsZXN0b25lMzU1Njk4NQ==","number":77,"title":"TypeScript 3.2","description":"Tentative name for the release following TypeScript 3.1","creator":{"login":"RyanCavanaugh","id":6685088,"node_id":"MDQ6VXNlcjY2ODUwODg=","avatar_url":"https://avatars3.githubusercontent.com/u/6685088?v=4","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},"open_issues":291,"closed_issues":44,"state":"open","created_at":"2018-08-08T22:47:52Z","updated_at":"2018-10-01T04:26:39Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2018-07-31T15:49:45Z","updated_at":"2018-10-01T04:26:59Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"<!-- Please try to reproduce the issue with `typescript@next`. It may have already been fixed. -->\r\n**TypeScript Version:**  3.0.1-insiders.20180726\r\n\r\n<!-- Search terms you tried before logging this (so others can find this issue more easily) -->\r\n**Search Terms:** IE11, language service, monaco editor\r\n\r\n**Code**\r\n\r\nOpen the [TypeScript Playground](http://www.typescriptlang.org/Playground) (Monaco Editor using the language service of current TypeScript version `3.0.1-insiders.20180726`) in **IE 11** (on Windows 10, 8.1 or 7) and enter the following code:\r\n\r\n```ts\r\n// In IE 11, this doesn't show an error:\r\nlet f = function () {\r\n    let g = function() {\r\n        Math.xxxxxxxyyyyzzzz(aaaaaa, bbbbbb, ccccc);\r\n    };\r\n};\r\n\r\n// This correctly shows an error:\r\nMath.xxxxxxxyyyyzzzz(aaaaaa, bbbbbb, ccccc);\r\n```\r\n\r\n**Expected behavior:**\r\nThe unknown properties and variables should be shown as error (which works in other browsers like Edge, Firefox, Chrome):\r\n![tsissue-edge](https://user-images.githubusercontent.com/13289184/43470148-3439f328-94e8-11e8-8df8-0d2f5b0c131f.png)\r\n\r\n**Actual behavior:**\r\nFor the inner function, unknown properties/variables are not shown as error in **IE 11**:\r\n![tsissue-ie11](https://user-images.githubusercontent.com/13289184/43470162-3c339f34-94e8-11e8-97fe-d044e4aab315.png)\r\n\r\nWith the previous playground version (I think 2.9.x), this worked correctly. I don't know what could cause this behavior in IE 11, since the console also doesn't show any errors.\r\n\r\nAdditionally, if you enable `noUnusedLocals` in the Monaco Editor, the editor will sometimes show variables as unused even though they are used (I currently don't have a screenshot of that).\r\n\r\nUnfortunately, for a software product at work we still need to use IE 11 (as WebBrowser control in a .NET app), so it would be nice if TypeScript with Monaco Editor would still work properly on IE 11.\r\n\r\n**Playground Link:** http://www.typescriptlang.org/play/#src=%2F%2F%20In%20IE%2011%2C%20this%20doesn't%20show%20an%20error%3A%0D%0Alet%20f%20%3D%20function%20()%20%7B%0D%0A%20%20%20%20let%20g%20%3D%20function()%20%7B%0D%0A%20%20%20%20%20%20%20%20Math.xxxxxxxyyyyzzzz(aaaaaa%2C%20bbbbbb%2C%20ccccc)%3B%0D%0A%20%20%20%20%7D%3B%0D%0A%7D%3B%0D%0A%0D%0A%2F%2F%20This%20correctly%20shows%20an%20error%3A%0D%0AMath.xxxxxxxyyyyzzzz(aaaaaa%2C%20bbbbbb%2C%20ccccc)%3B%0D%0A%0D%0A\r\n\r\nThank you!"},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/425786250","html_url":"https://github.com/Microsoft/TypeScript/issues/26090#issuecomment-425786250","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/26090","id":425786250,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTc4NjI1MA==","user":{"login":"DanielRosenwasser","id":972891,"node_id":"MDQ6VXNlcjk3Mjg5MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/972891?v=4","gravatar_id":"","url":"https://api.github.com/users/DanielRosenwasser","html_url":"https://github.com/DanielRosenwasser","followers_url":"https://api.github.com/users/DanielRosenwasser/followers","following_url":"https://api.github.com/users/DanielRosenwasser/following{/other_user}","gists_url":"https://api.github.com/users/DanielRosenwasser/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielRosenwasser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielRosenwasser/subscriptions","organizations_url":"https://api.github.com/users/DanielRosenwasser/orgs","repos_url":"https://api.github.com/users/DanielRosenwasser/repos","events_url":"https://api.github.com/users/DanielRosenwasser/events{/privacy}","received_events_url":"https://api.github.com/users/DanielRosenwasser/received_events","type":"User","site_admin":false},"created_at":"2018-10-01T04:26:59Z","updated_at":"2018-10-01T04:26:59Z","author_association":"MEMBER","body":"Should be fixed. Sorry about that!"}}
{"actor":{"display_login":"DanielRosenwasser"}}