Title: Related error spans for multiple default exports · Issue #25032 · microsoft/TypeScript · GitHub
Open Graph Title: Related error spans for multiple default exports · Issue #25032 · microsoft/TypeScript
X Title: Related error spans for multiple default exports · Issue #25032 · 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 on each declaration when a module has multiple export defaults. A module canno...
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 on each declaration when a module has ...
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 on each declaration when a module ...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/25032
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Related error spans for multiple default exports","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 on each declaration when a module has multiple `export default`s.\r\n\r\n```\r\nA module cannot have multiple default exports\r\n```\r\n\r\nWe can instead add a related span on all declarations but the first.\r\n\r\n```\r\nThis export conflicts with the first. \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:50:49Z","url":"https://github.com/microsoft/TypeScript/issues/25032"}
| 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:f797119f-0cc1-d23f-98d8-3bb5f1581895 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E964:24ACB9:C8A005:109A595:6B00F23E |
| html-safe-nonce | b94bb15c0d73ecd38427da7e497f0c21e26b9474b06b7f2d6e2fc3007bf2a50d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTY0OjI0QUNCOTpDOEEwMDU6MTA5QTU5NTo2QjAwRjIzRSIsInZpc2l0b3JfaWQiOiI2MjY3NzAyMTA1MzQ0MTExMTY2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e11c98f6bc20672217560708903423987737b1e083a642d2ef80c463e995e44e |
| hovercard-subject-tag | issue:333140721 |
| 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/25032/issue_layout |
| twitter:image | https://opengraph.githubassets.com/167c9c21c951c38ec8ac21ea282aa763f45117aee888735847391bc7090dd18a/microsoft/TypeScript/issues/25032 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/167c9c21c951c38ec8ac21ea282aa763f45117aee888735847391bc7090dd18a/microsoft/TypeScript/issues/25032 |
| 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 on each declaration when a module has ... |
| 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 | 4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc |
| 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 | 9983dd5da06943f833c971dd5b6bc988e2858be5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width