Title: [Feature request][Language Service] Warn user when Input/output does not exist in component and type checking · Issue #21204 · angular/angular · GitHub
Open Graph Title: [Feature request][Language Service] Warn user when Input/output does not exist in component and type checking · Issue #21204 · angular/angular
X Title: [Feature request][Language Service] Warn user when Input/output does not exist in component and type checking · Issue #21204 · angular/angular
Description: I'm submitting a... [ ] Regression (a behavior that used to work and stopped working in a new release) [ ] Bug report [X] Feature request [ ] Documentation issue or request [ ] Support request => Please do not submit support request here...
Open Graph Description: I'm submitting a... [ ] Regression (a behavior that used to work and stopped working in a new release) [ ] Bug report [X] Feature request [ ] Documentation issue or request [ ] Support request => P...
X Description: I'm submitting a... [ ] Regression (a behavior that used to work and stopped working in a new release) [ ] Bug report [X] Feature request [ ] Documentation issue or request [ ] Support request ...
Opengraph URL: https://github.com/angular/angular/issues/21204
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Feature request][Language Service] Warn user when Input/output does not exist in component and type checking","articleBody":"## I'm submitting a...\r\n\u003cpre>\u003ccode>\r\n[ ] Regression (a behavior that used to work and stopped working in a new release)\r\n[ ] Bug report \u003c!-- Please search GitHub for a similar issue or PR before submitting -->\r\n[X] Feature request\r\n[ ] Documentation issue or request\r\n[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question\r\n\u003c/code>\u003c/pre>\r\n\r\n## Current behavior\r\ngiven this component :\r\n ```\r\n@Component({\r\n selector: 'example-component',\r\n templateUrl: 'example-component.component.html',\r\n styleUrls: ['example-component.component.scss']\r\n})\r\nexport class ExampleComponent {\r\n @Input() label: string;\r\n @Output() event: string;\r\n}\r\n```\r\nIf I wrote this in another template like this :\r\n\r\n```\r\n\u003cexample-component [label]=\"1\" [noExistingInput]=\"'label'\" (event)=\"exampleMethod()\">\r\n\u003cexample-component>\r\n```\r\nI have no warning on the noExistingInput, and no warning on label input waiting for a string and receiving a number.\r\n\r\n## Expected behavior\r\nshowing error saying no existing input/output and type mismatch in html template\r\n\r\n## What is the motivation / use case for changing the behavior?\r\nbetter linter integration, less AOT build error\r\n\r\n\r\n","author":{"url":"https://github.com/Tukks","@type":"Person","name":"Tukks"},"datePublished":"2017-12-29T00:57:37Z","url":"https://github.com/angular/angular/issues/21204"}
| 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:ee73ccd2-8915-07e5-f8e5-90e8b2506680 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 99A0:ADA9D:1F59253:283D7EB:6B015B61 |
| html-safe-nonce | 862349aa14a9c4879b940f4141c653da217347b2eb05df611ad75a345b3f5a63 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUEwOkFEQTlEOjFGNTkyNTM6MjgzRDdFQjo2QjAxNUI2MSIsInZpc2l0b3JfaWQiOiIxMDAyMDczMzM0MzE5NTA0MjI1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 4f0e2a3eac118eba6821f205c5c7feba3ebbce776fe7b2a03382a2a99f4a5b65 |
| hovercard-subject-tag | issue:285016073 |
| 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/21204/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e6d22bb4e9beadbb15891e52d8b16332b074920b2d44a8aa89dc7bd6602616a1/angular/angular/issues/21204 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e6d22bb4e9beadbb15891e52d8b16332b074920b2d44a8aa89dc7bd6602616a1/angular/angular/issues/21204 |
| og:image:alt | I'm submitting a... [ ] Regression (a behavior that used to work and stopped working in a new release) [ ] Bug report [X] Feature request [ ] Documentation issue or request [ ] Support request => P... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Tukks |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width