Title: combinatorial explosion of recursive unions definitions. · Issue #18754 · microsoft/TypeScript · GitHub
Open Graph Title: combinatorial explosion of recursive unions definitions. · Issue #18754 · microsoft/TypeScript
X Title: combinatorial explosion of recursive unions definitions. · Issue #18754 · microsoft/TypeScript
Description: TypeScript Version: 2.5.2 Code type A = { tag: 'a', pa: ALL} type B = { tag: 'b', pb: ALL} type C = { tag: 'c', pc: ALL} type D = { tag: 'd', pd: ALL} type E = { tag: 'e', pe: ALL} type ALL = A | B | C | D | E Expected behavior: When hov...
Open Graph Description: TypeScript Version: 2.5.2 Code type A = { tag: 'a', pa: ALL} type B = { tag: 'b', pb: ALL} type C = { tag: 'c', pc: ALL} type D = { tag: 'd', pd: ALL} type E = { tag: 'e', pe: ALL} type ALL = A | B...
X Description: TypeScript Version: 2.5.2 Code type A = { tag: 'a', pa: ALL} type B = { tag: 'b', pb: ALL} type C = { tag: 'c', pc: ALL} type D = { tag: 'd', pd: ALL} type E = { tag...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/18754
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"combinatorial explosion of recursive unions definitions.","articleBody":"**TypeScript Version:** 2.5.2\r\n\r\n**Code**\r\n\r\n```ts\r\ntype A = { tag: 'a', pa: ALL}\r\ntype B = { tag: 'b', pb: ALL}\r\ntype C = { tag: 'c', pc: ALL}\r\ntype D = { tag: 'd', pd: ALL}\r\ntype E = { tag: 'e', pe: ALL}\r\ntype ALL = A | B | C | D | E\r\n```\r\n\r\n**Expected behavior:**\r\n\r\nWhen hovering on pa ... pe members, we see a few types, ideally just 'ALL'.\r\n\r\n**Actual behavior:**\r\n\r\nWhen hovering on pa ... pe members, we see an explosion of types.\r\n","author":{"url":"https://github.com/sledorze","@type":"Person","name":"sledorze"},"datePublished":"2017-09-25T21:48:02Z","url":"https://github.com/microsoft/TypeScript/issues/18754"}
| 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:cba60e29-21f6-2861-9a3c-22cf4635450b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8346:1FAE:430432:5E044C:6B01CCD6 |
| html-safe-nonce | c22befff4fc8cf1dceabb8789974dd597fc7ffe615a080068fe76f0cb2b5d94d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzQ2OjFGQUU6NDMwNDMyOjVFMDQ0Qzo2QjAxQ0NENiIsInZpc2l0b3JfaWQiOiIxMzI1Mzg0Nzg0MzAxNjQwOTE4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5479b5cdf744632744c1bcce6b5c47b3201a146b0abbdd780ab450a62d60d2bb |
| hovercard-subject-tag | issue:260425671 |
| 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/18754/issue_layout |
| twitter:image | https://opengraph.githubassets.com/80a087b6718797eaf1e02d435e839ad46f66cf2f518d5a6c673cc87a20ba7a24/microsoft/TypeScript/issues/18754 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/80a087b6718797eaf1e02d435e839ad46f66cf2f518d5a6c673cc87a20ba7a24/microsoft/TypeScript/issues/18754 |
| og:image:alt | TypeScript Version: 2.5.2 Code type A = { tag: 'a', pa: ALL} type B = { tag: 'b', pb: ALL} type C = { tag: 'c', pc: ALL} type D = { tag: 'd', pd: ALL} type E = { tag: 'e', pe: ALL} type ALL = A | B... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sledorze |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width