Title: language-service: "enable strictTemplates" suggestion fires even though the compiler enables strictTemplates by default (Angular 22) · Issue #69905 · angular/angular · GitHub
Open Graph Title: language-service: "enable strictTemplates" suggestion fires even though the compiler enables strictTemplates by default (Angular 22) · Issue #69905 · angular/angular
X Title: language-service: "enable strictTemplates" suggestion fires even though the compiler enables strictTemplates by default (Angular 22) · Issue #69905 · angular/angular
Description: Is this a bug report or a feature request? Bug Report Feature Request Please provide the steps to reproduce the issue [Bug Report only] Angular 22 project. In tsconfig.json, have an angularCompilerOptions block that does not contain a st...
Open Graph Description: Is this a bug report or a feature request? Bug Report Feature Request Please provide the steps to reproduce the issue [Bug Report only] Angular 22 project. In tsconfig.json, have an angularCompiler...
X Description: Is this a bug report or a feature request? Bug Report Feature Request Please provide the steps to reproduce the issue [Bug Report only] Angular 22 project. In tsconfig.json, have an angularCompiler...
Opengraph URL: https://github.com/angular/angular/issues/69905
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"language-service: \"enable strictTemplates\" suggestion fires even though the compiler enables strictTemplates by default (Angular 22)","articleBody":"### Is this a bug report or a feature request?\n\n- [x] Bug Report\n- [ ] Feature Request\n\n### Please provide the steps to reproduce the issue [Bug Report only]\n\n1. Angular 22 project.\n2. In tsconfig.json, have an angularCompilerOptions block that does not contain a strictTemplates key (relying on the v22 default).\n3. Open the project in an editor using the Angular Language Service (e.g. the VS Code extension).\n4. Observe the notification \"Some language features are not available. To access all features, enable strictTemplates in angularCompilerOptions.\"\n\n### Please provide the expected behavior vs the actual behavior you encountered [Bug Report only]\n\nExpected: With strictTemplates omitted, no suggestion should appear, because the compiler already treats the absent option as enabled. The suggestion should only fire when strictTemplates is explicitly set to false.\n\nActual: The suggestion fires whenever the key is absent. The compiler and language service disagree on the default.\n\n### Please provide a screenshot if possible [Bug Report only]\n\n_No response_\n\n### Please provide the exception or error you saw [Bug Report only]\n\n```true\n\n```\n\n### Description [Feature Request only]\n\n_No response_\n\n### Proposed solution [Feature Request only]\n\n_No response_\n\n### Alternatives considered [Feature Request only]\n\n_No response_","author":{"url":"https://github.com/michael-koch787","@type":"Person","name":"michael-koch787"},"datePublished":"2026-07-23T06:46:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/69905/angular/issues/69905"}
| 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:43ace15f-8c29-236b-094a-3254d01e4e57 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E9FE:6E631:221AE23:2EDC4DD:6A631003 |
| html-safe-nonce | 8c612a1b169e49a6eed3a8bd2f6f2c9c72099683b9f012b8a1229228d0c177eb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOUZFOjZFNjMxOjIyMUFFMjM6MkVEQzRERDo2QTYzMTAwMyIsInZpc2l0b3JfaWQiOiIxOTgyNjc3OTMzNTAxOTExMDQzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8955a9144338255ae8d627dfdc4ed394cb0ab404ec3d361cc9a847ffb09fb42e |
| hovercard-subject-tag | issue:4956211078 |
| 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/69905/issue_layout |
| twitter:image | https://opengraph.githubassets.com/426317d22718da49f89aafff1a7b0cb830f6db7bc3d553feaa3310933bc3b59b/angular/angular/issues/69905 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/426317d22718da49f89aafff1a7b0cb830f6db7bc3d553feaa3310933bc3b59b/angular/angular/issues/69905 |
| og:image:alt | Is this a bug report or a feature request? Bug Report Feature Request Please provide the steps to reproduce the issue [Bug Report only] Angular 22 project. In tsconfig.json, have an angularCompiler... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | michael-koch787 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1a6c056e02f174fffc096c521ec0ff6fb83e40a2ec8cb8875466ec1524872dd6 |
| 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 | 6a93e25585f487ddff9e3996c06d5b869d6e1828 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width