Title: Compiler TypeScript version checking too simplistic · Issue #22593 · angular/angular · GitHub
Open Graph Title: Compiler TypeScript version checking too simplistic · Issue #22593 · angular/angular
X Title: Compiler TypeScript version checking too simplistic · Issue #22593 · angular/angular
Description: I'm submitting a... [x] Bug report Current behavior ngc will begin reporting errors correctly report an error for 2.7 but not 2.40 as it uses a string compare instead numeric compare for the version number. angular/packages/compiler-cli/...
Open Graph Description: I'm submitting a... [x] Bug report Current behavior ngc will begin reporting errors correctly report an error for 2.7 but not 2.40 as it uses a string compare instead numeric compare for the versio...
X Description: I'm submitting a... [x] Bug report Current behavior ngc will begin reporting errors correctly report an error for 2.7 but not 2.40 as it uses a string compare instead numeric compare for the ve...
Opengraph URL: https://github.com/angular/angular/issues/22593
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Compiler TypeScript version checking too simplistic","articleBody":"## I'm submitting a...\r\n\u003c!-- Check one of the following options with \"x\" -->\r\n\u003cpre>\u003ccode>\r\n[x] Bug report \u003c!-- Please search GitHub for a similar issue or PR before submitting -->\r\n\u003c/code>\u003c/pre>\r\n\r\n## Current behavior\r\n\r\n`ngc` will begin reporting errors correctly report an error for `2.7` but not `2.40` as it uses a string compare instead numeric compare for the version number.\r\n\r\nhttps://github.com/angular/angular/blob/58932c7f38b4b5e9f30703c90b556210a3b970d8/packages/compiler-cli/src/transformers/program.ts#L75\r\n\r\n## Expected behavior\r\n\r\nTypeScript version detection is more resilient.\r\n\r\n","author":{"url":"https://github.com/chuckjaz","@type":"Person","name":"chuckjaz"},"datePublished":"2018-03-05T19:46:42Z","url":"https://github.com/angular/angular/issues/22593"}
| 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:7494588a-cc4a-8117-1f11-c282add0301d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B9F8:882E2:D23617:116AF9A:6B00F570 |
| html-safe-nonce | b2e6fbf2551a0acb338329b692fbc001962693455e6178f15cfab7eafa5c6f67 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOUY4Ojg4MkUyOkQyMzYxNzoxMTZBRjlBOjZCMDBGNTcwIiwidmlzaXRvcl9pZCI6IjU1NzE4MTIyOTI2NTc0NzY5NzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 32a8424bc7723bd757e7ed893c58b9f443fbeb508b5eb13b53ae1d40d4ff1ff5 |
| hovercard-subject-tag | issue:302435834 |
| 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/angular/22593/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d93ff6a89302bc8d3e26da9969dd7ad96a62d8b3b7a38ca3f035b7b2926dfc7a/angular/angular/issues/22593 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d93ff6a89302bc8d3e26da9969dd7ad96a62d8b3b7a38ca3f035b7b2926dfc7a/angular/angular/issues/22593 |
| og:image:alt | I'm submitting a... [x] Bug report Current behavior ngc will begin reporting errors correctly report an error for 2.7 but not 2.40 as it uses a string compare instead numeric compare for the versio... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | chuckjaz |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| 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