Title: tsconfig lib declarations (es2018) understate the supported runtimes · Issue #3705 · angular/angularfire · GitHub
Open Graph Title: tsconfig lib declarations (es2018) understate the supported runtimes · Issue #3705 · angular/angularfire
X Title: tsconfig lib declarations (es2018) understate the supported runtimes · Issue #3705 · angular/angularfire
Description: The repo's tsconfigs declare "lib": ["es2018", "dom"] (root and base; tsconfig.build.json says es2019) while target is es2020 and every supported runtime — Node 20+ in CI, the browsers Angular 21 supports — provides ES2022. The Angular C...
Open Graph Description: The repo's tsconfigs declare "lib": ["es2018", "dom"] (root and base; tsconfig.build.json says es2019) while target is es2020 and every supported runtime — Node 20+ in CI, the browsers Angular 21 s...
X Description: The repo's tsconfigs declare "lib": ["es2018", "dom"] (root and base; tsconfig.build.json says es2019) while target is es2020 and every supported runtime — Node 20...
Opengraph URL: https://github.com/angular/angularfire/issues/3705
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"tsconfig lib declarations (es2018) understate the supported runtimes","articleBody":"The repo's tsconfigs declare `\"lib\": [\"es2018\", \"dom\"]` (root and base; `tsconfig.build.json` says es2019) while `target` is es2020 and every supported runtime — Node 20+ in CI, the browsers Angular 21 supports — provides ES2022. The Angular CLI generates new workspaces at ES2022.\n\nThe understated `lib` makes tsc/IDE reject standard APIs (e.g. `Object.fromEntries`) that the shipped code can use freely.\n\n### Proposal\n\nDeclare `lib: es2022` across the tsconfigs. Declaration-only — compilation targets are unchanged, so emitted code is identical.\n","author":{"url":"https://github.com/armando-navarro","@type":"Person","name":"armando-navarro"},"datePublished":"2026-07-08T21:15:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/3705/angularfire/issues/3705"}
| 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:311698db-551f-5b42-e1f0-fb4434aecc17 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 95DC:2009F3:D582E4:118699E:6A5C30F8 |
| html-safe-nonce | 4d47c370b3119929ee5a6b0db55feaea33b4333bc5321ea130545d3791095031 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NURDOjIwMDlGMzpENTgyRTQ6MTE4Njk5RTo2QTVDMzBGOCIsInZpc2l0b3JfaWQiOiI2NzI3NDMyNzc5MzUyMTA3NDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a5de9271692b39bc6744b22160d3822db20a2178b2d8a91e9ccc198d1859cd29 |
| hovercard-subject-tag | issue:4841157002 |
| 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/angular/angularfire/3705/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0eadb66d020bc910cff2920fa1ba82e41bfa9b38263a8c4f190171a4e1742f60/angular/angularfire/issues/3705 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0eadb66d020bc910cff2920fa1ba82e41bfa9b38263a8c4f190171a4e1742f60/angular/angularfire/issues/3705 |
| og:image:alt | The repo's tsconfigs declare "lib": ["es2018", "dom"] (root and base; tsconfig.build.json says es2019) while target is es2020 and every supported runtime — Node 20+ in CI, the browsers Angular 21 s... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | armando-navarro |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angularfire git https://github.com/angular/angularfire.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 49453413 |
| octolytics-dimension-repository_nwo | angular/angularfire |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49453413 |
| octolytics-dimension-repository_network_root_nwo | angular/angularfire |
| 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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width