Title: Related error span for "did you mean ...?" error messages · Issue #25031 · microsoft/TypeScript · GitHub
Open Graph Title: Related error span for "did you mean ...?" error messages · Issue #25031 · microsoft/TypeScript
X Title: Related error span for "did you mean ...?" error messages · Issue #25031 · microsoft/TypeScript
Description: Now that we support multiple related spans for errors (#10489, #22789, #24548), we'd like to improve an existing error message. Currently, we provide an error when accessing declarations that have been misspelled. Property '{0}' does not...
Open Graph Description: Now that we support multiple related spans for errors (#10489, #22789, #24548), we'd like to improve an existing error message. Currently, we provide an error when accessing declarations that have ...
X Description: Now that we support multiple related spans for errors (#10489, #22789, #24548), we'd like to improve an existing error message. Currently, we provide an error when accessing declarations that h...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/25031
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Related error span for \"did you mean ...?\" error messages","articleBody":"Now that we support multiple related spans for errors (#10489, #22789, #24548), we'd like to improve an existing error message.\r\n\r\nCurrently, we provide an error when accessing declarations that have been misspelled.\r\n\r\n```\r\nProperty '{0}' does not exist on type '{1}'. Did you mean '{2}'?\r\nCannot find name '{0}'. Did you mean '{1}'?\r\nObject literal may only specify known properties, but '{0}' does not exist in type '{1}'. Did you mean to write '{2}'?\r\nCannot find name '{0}'. Did you mean the static member '{1}.{0}'?\r\nCannot find name '{0}'. Did you mean the instance member 'this.{0}'?\r\nModule '{0}' has no exported member '{1}'. Did you mean '{2}'?\r\n```\r\n\r\nWe can add a related span on the declaration of the suggestion if one exists:\r\n\r\n```\r\nIt's likely that you meant to reference '{0}'.\r\n```\r\n\r\nThis can help users quickly glance at the original declaration.","author":{"url":"https://github.com/DanielRosenwasser","@type":"Person","name":"DanielRosenwasser"},"datePublished":"2018-06-18T05:37:35Z","url":"https://github.com/microsoft/TypeScript/issues/25031"}
| 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:0f0bf4e1-a80f-e791-9a02-1ae837fc53fb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D1AA:EA09B:94AD25:C6FD14:6B00E709 |
| html-safe-nonce | 3b0cdcb7e0fa4b6c0bd1b8332a3dd45c273322b3f3a4f83898a2afe9b11dd382 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMUFBOkVBMDlCOjk0QUQyNTpDNkZEMTQ6NkIwMEU3MDkiLCJ2aXNpdG9yX2lkIjoiNjQ0NTY5MDg2NzI1OTg2MDc0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1486fba03448727a1e7760b862d749acac3bf5bfaf58a4da430b5a26e0b0ee5e |
| hovercard-subject-tag | issue:333138715 |
| 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/25031/issue_layout |
| twitter:image | https://opengraph.githubassets.com/167c9c21c951c38ec8ac21ea282aa763f45117aee888735847391bc7090dd18a/microsoft/TypeScript/issues/25031 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/167c9c21c951c38ec8ac21ea282aa763f45117aee888735847391bc7090dd18a/microsoft/TypeScript/issues/25031 |
| og:image:alt | Now that we support multiple related spans for errors (#10489, #22789, #24548), we'd like to improve an existing error message. Currently, we provide an error when accessing declarations that have ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DanielRosenwasser |
| hostname | github.com |
| expected-hostname | github.com |
| None | 27088b6977484d0d3321d9a11c907c6d6637b315cfa359ef7952dbf6292f9b14 |
| 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 | 624179fb8b88d26ba5bba08894eb60a1c5a1d93d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width