Title: TypeScript 3.0 language service isn't working properly in IE 11 (in Monaco Editor) · Issue #26090 · microsoft/TypeScript · GitHub
Open Graph Title: TypeScript 3.0 language service isn't working properly in IE 11 (in Monaco Editor) · Issue #26090 · microsoft/TypeScript
X Title: TypeScript 3.0 language service isn't working properly in IE 11 (in Monaco Editor) · Issue #26090 · microsoft/TypeScript
Description: TypeScript Version: 3.0.1-insiders.20180726 Search Terms: IE11, language service, monaco editor Code Open the TypeScript Playground (Monaco Editor using the language service of current TypeScript version 3.0.1-insiders.20180726) in IE 11...
Open Graph Description: TypeScript Version: 3.0.1-insiders.20180726 Search Terms: IE11, language service, monaco editor Code Open the TypeScript Playground (Monaco Editor using the language service of current TypeScript v...
X Description: TypeScript Version: 3.0.1-insiders.20180726 Search Terms: IE11, language service, monaco editor Code Open the TypeScript Playground (Monaco Editor using the language service of current TypeScript v...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/26090
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"TypeScript 3.0 language service isn't working properly in IE 11 (in Monaco Editor)","articleBody":"\u003c!-- 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\u003c!-- 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\r\n\r\n**Actual behavior:**\r\nFor the inner function, unknown properties/variables are not shown as error in **IE 11**:\r\n\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!","author":{"url":"https://github.com/kpreisser","@type":"Person","name":"kpreisser"},"datePublished":"2018-07-31T15:49:45Z","url":"https://github.com/microsoft/TypeScript/issues/26090"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:82ec5fd0-878c-6523-9cf3-da1f1a89cdfa |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D8E0:669A1:1626FC:1D4946:6B0187AF |
| html-safe-nonce | b282e7027e77b236f2f7a57a125d008044739e4a80e6ab870b23b9ab63897c85 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOEUwOjY2OUExOjE2MjZGQzoxRDQ5NDY6NkIwMTg3QUYiLCJ2aXNpdG9yX2lkIjoiNTE1MzQzNTU4NTU3NDE3NjY4NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c6e9de47e94dcc37fb8bed9a9555a7e4b090ec60c35ee10da5c4d2d20608d4b0 |
| hovercard-subject-tag | issue:346248998 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/26090/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8e02d0fa951690e669dac66e86e6062f00a8f53adcb05f23a750e1aaea9b659f/microsoft/TypeScript/issues/26090 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8e02d0fa951690e669dac66e86e6062f00a8f53adcb05f23a750e1aaea9b659f/microsoft/TypeScript/issues/26090 |
| og:image:alt | TypeScript Version: 3.0.1-insiders.20180726 Search Terms: IE11, language service, monaco editor Code Open the TypeScript Playground (Monaco Editor using the language service of current TypeScript v... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kpreisser |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width