Title: Browser specific lib options · Issue #23156 · microsoft/TypeScript · GitHub
Open Graph Title: Browser specific lib options · Issue #23156 · microsoft/TypeScript
X Title: Browser specific lib options · Issue #23156 · microsoft/TypeScript
Description: TypeScript Version: 2.8.1 Search Terms: lib ie11 browser Related Issues: #14308 Hello, I am working and making sure my application works on IE11 as it is used within my company and by most of our clients but how often did I run into this...
Open Graph Description: TypeScript Version: 2.8.1 Search Terms: lib ie11 browser Related Issues: #14308 Hello, I am working and making sure my application works on IE11 as it is used within my company and by most of our c...
X Description: TypeScript Version: 2.8.1 Search Terms: lib ie11 browser Related Issues: #14308 Hello, I am working and making sure my application works on IE11 as it is used within my company and by most of our c...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/23156
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Browser specific lib options","articleBody":"\u003c!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨 -->\r\n\u003c!--\r\nHalf of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker.\r\n\r\nPlease help us by doing the following steps before logging an issue:\r\n * Search: https://github.com/Microsoft/TypeScript/search?type=Issues\r\n * Read the CONTRIBUTING guidelines: https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md\r\n * Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ\r\n-->\r\n\r\n\u003c!-- If you have a QUESTION:\r\n THIS IS NOT A FORUM FOR QUESTIONS.\r\n Ask questions at http://stackoverflow.com/questions/tagged/typescript\r\n or https://gitter.im/Microsoft/TypeScript\r\n-->\r\n\r\n\u003c!-- If you have a SUGGESTION:\r\n Most suggestion reports are duplicates, please search extra hard before logging a new suggestion.\r\n See https://github.com/Microsoft/TypeScript-wiki/blob/master/Writing-Good-Design-Proposals.md\r\n-->\r\n\r\n\u003c!-- If you have a BUG:\r\n Please fill in the *entire* template below.\r\n-->\r\n\r\n\u003c!-- Please try to reproduce the issue with `typescript@next`. It may have already been fixed. -->\r\n**TypeScript Version:** 2.8.1\r\n\r\n\u003c!-- Search terms you tried before logging this (so others can find this issue more easily) -->\r\n**Search Terms:** lib ie11 browser\r\n\r\n**Related Issues:** #14308\r\n\r\nHello,\r\n\r\nI am working and making sure my application works on IE11 as it is used within my company and by most of our clients but how often did I run into this sad issue of using some part of the JS lib and finding out it doesn't exist in IE11. I often can use polyfills (Promise) or alternatives (Map instead of Set).\r\n\r\nI was wondering if browser specific librairies has been considered an option, at least for the Microsoft browsers.\r\n\r\nThis project being maintained by Microsoft, I would have expected to be able to use any IE and Edge version as a `lib` option. This would make clear what to use and not to use from ES5 and ES6 and some DOM definitions.\r\n\r\nAs an example, IE11 doesn't have `Promise` or many of the new `Array` methods, but has `WeakMap` and `MutationObserver`. We can't really say IE11 is ES5 or ES6 ready but some of it is available.\r\n\r\nI think this \"request\" may also be filled by an external project since this was done for NodeJS in `@types/node`.","author":{"url":"https://github.com/grimly","@type":"Person","name":"grimly"},"datePublished":"2018-04-05T00:21:37Z","url":"https://github.com/microsoft/TypeScript/issues/23156"}
| 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:1c7ddd73-29de-6bc3-923c-93b79ebca876 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AFA0:BBAAA:CC7896:10EE77C:6B00F5C1 |
| html-safe-nonce | 057d830afc40d45859b136404291dbbf6539a42232a42af3c66dd0058c0fbfdc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRkEwOkJCQUFBOkNDNzg5NjoxMEVFNzdDOjZCMDBGNUMxIiwidmlzaXRvcl9pZCI6IjY4NDExNTAwODg0MTMyNDY5MTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 50eaa767788494dd453973a0bbf7389837d339b9514cff6d5f5f33f08bd28b88 |
| hovercard-subject-tag | issue:311434146 |
| 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/23156/issue_layout |
| twitter:image | https://opengraph.githubassets.com/490ae21b5c3aa097c3297682b9b8f51ada7be2b0733394be4db45a10cfce8216/microsoft/TypeScript/issues/23156 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/490ae21b5c3aa097c3297682b9b8f51ada7be2b0733394be4db45a10cfce8216/microsoft/TypeScript/issues/23156 |
| og:image:alt | TypeScript Version: 2.8.1 Search Terms: lib ie11 browser Related Issues: #14308 Hello, I am working and making sure my application works on IE11 as it is used within my company and by most of our c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | grimly |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc |
| 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 | 9983dd5da06943f833c971dd5b6bc988e2858be5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width