| 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:03a18078-0a58-a65e-04fd-0c1128630aa1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D306:23A9CB:40EB16:57C87D:6AFBEC67 |
| html-safe-nonce | 34eead89bf02e1680f501488dd631da75ea1bec878ffbfac3096e0dc84c12747 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzA2OjIzQTlDQjo0MEVCMTY6NTdDODdEOjZBRkJFQzY3IiwidmlzaXRvcl9pZCI6Ijg4NDM4NTAzNDE2MjAxMTY1ODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 685a7309455292518d31a8d12da0185ac25778b61742d2eb58843b3c5b63b6b6 |
| hovercard-subject-tag | issue:38381463 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/issues_fragments/issue_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/186/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0c30405ad03cde1bbe22dd943d16a19307dcdeaecca6c02e31f2d6d7de3cdf2c/microsoft/TypeScript/issues/186 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0c30405ad03cde1bbe22dd943d16a19307dcdeaecca6c02e31f2d6d7de3cdf2c/microsoft/TypeScript/issues/186 |
| og:image:alt | A very nice addition to TypeScript's type system would be sum types in the spirit of ML-like languages. This is one of basic and simple programming constructs from functional programming which you ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alainfrisch |
| hostname | github.com |
| expected-hostname | github.com |
| None | 744d4381b1c4dbd6d8736c7d7e5bbe7dc11217584e457a3555020c631764e8ec |
| 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 | df859c48a4c8b4c0009c19bb4e82101aacb4b998 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
| Skip to content | https://github.com/microsoft/TypeScript/issues/186#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F186 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F186 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2FTypeScript |
| Reload | https://github.com/microsoft/TypeScript/issues/186 |
| Reload | https://github.com/microsoft/TypeScript/issues/186 |
| Reload | https://github.com/microsoft/TypeScript/issues/186 |
| microsoft | https://github.com/microsoft |
| TypeScript | https://github.com/microsoft/TypeScript |
| Code | https://github.com/microsoft/TypeScript |
| Issues5k (5k) | https://github.com/microsoft/TypeScript/issues |
| Pull requests335 (335) | https://github.com/microsoft/TypeScript/pulls |
| Actions | https://github.com/microsoft/TypeScript/actions |
| Projects | https://github.com/microsoft/TypeScript/projects |
| Wiki | https://github.com/microsoft/TypeScript/wiki |
| Security and quality | https://github.com/microsoft/TypeScript/security |
| Insights | https://github.com/microsoft/TypeScript/pulse |
| https://github.com/microsoft/TypeScript |
| New issue | https://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/186 |
| New issue | https://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/186 |
| Suggestion: sum types / tagged union | https://github.com/microsoft/TypeScript/issues/186#top |
| https://github.com/ahejlsberg |
| CommittedThe team has roadmapped this issue | https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Committed%22 |
| FixedA PR has been merged for this issue | https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fixed%22 |
| SuggestionAn idea for TypeScript | https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22 |
| TypeScript 2.0 | https://github.com/microsoft/TypeScript/milestone/1 |
| https://github.com/alainfrisch |
| Alain Frisch (alainfrisch) | https://github.com/alainfrisch |
| on Jul 22, 2014 | https://github.com/microsoft/TypeScript/issues/186#issue-38381463 |
| http://doc.rust-lang.org/tutorial.html#enums | http://doc.rust-lang.org/tutorial.html#enums |
| #14 | https://github.com/microsoft/TypeScript/issues/14 |
| Next | https://github.com/microsoft/TypeScript/issues/186?timeline_page=1 |
| https://github.com/fdecampredon |
| François de Campredon (fdecampredon) | https://github.com/fdecampredon |
| on Jul 22, 2014 | https://github.com/microsoft/TypeScript/issues/186#issuecomment-49737488 |
| Ryan Cavanaugh (RyanCavanaugh) | https://github.com/RyanCavanaugh |
| Needs Proposal | https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Needs%20Proposal%22 |
| on Jul 22, 2014 | https://github.com/microsoft/TypeScript/issues/186#event-144264592 |
| https://github.com/RyanCavanaugh |
| Ryan Cavanaugh (RyanCavanaugh) | https://github.com/RyanCavanaugh |
| on Jul 22, 2014 | https://github.com/microsoft/TypeScript/issues/186#issuecomment-49766787 |
| https://github.com/fdecampredon |
| François de Campredon (fdecampredon) | https://github.com/fdecampredon |
| on Jul 22, 2014 | https://github.com/microsoft/TypeScript/issues/186#issuecomment-49778371 |
| https://github.com/iislucas |
| iislucas (iislucas) | https://github.com/iislucas |
| on Jul 23, 2014 | https://github.com/microsoft/TypeScript/issues/186#issuecomment-49823050 |
| https://github.com/RyanCavanaugh |
| Ryan Cavanaugh (RyanCavanaugh) | https://github.com/RyanCavanaugh |
| on Jul 28, 2014 | https://github.com/microsoft/TypeScript/issues/186#issuecomment-50410846 |
| #14 | https://github.com/microsoft/TypeScript/issues/14 |
| https://github.com/fdecampredon |
| François de Campredon (fdecampredon) | https://github.com/fdecampredon |
| on Jul 29, 2014 | https://github.com/microsoft/TypeScript/issues/186#issuecomment-50504492 |
| Ryan Cavanaugh (@RyanCavanaugh) | https://github.com/RyanCavanaugh |
| https://github.com/iislucas |
| iislucas (iislucas) | https://github.com/iislucas |
| on Jul 29, 2014 | https://github.com/microsoft/TypeScript/issues/186#issuecomment-50507545 |
| https://github.com/fsoikin |
| Fyodor Soikin (fsoikin) | https://github.com/fsoikin |
| on Jul 29, 2014 | https://github.com/microsoft/TypeScript/issues/186#issuecomment-50507877 |
| https://github.com/danquirk |
| Dan Quirk (danquirk) | https://github.com/danquirk |
| on Jul 29, 2014 | https://github.com/microsoft/TypeScript/issues/186#issuecomment-50518597 |
| https://github.com/alainfrisch |
| Alain Frisch (alainfrisch) | https://github.com/alainfrisch |
| on Jul 30, 2014 | https://github.com/microsoft/TypeScript/issues/186#issuecomment-50574540 |
| Dan Quirk (@danquirk) | https://github.com/danquirk |
| François de Campredon (@fdecampredon) | https://github.com/fdecampredon |
| https://github.com/alainfrisch |
| Alain Frisch (alainfrisch) | https://github.com/alainfrisch |
| on Sep 9, 2014 | https://github.com/microsoft/TypeScript/issues/186#issuecomment-54993927 |
| https://github.com/iislucas |
| iislucas (iislucas) | https://github.com/iislucas |
| on Sep 9, 2014 | https://github.com/microsoft/TypeScript/issues/186#issuecomment-54996318 |
| Alain Frisch (@alainfrisch) | https://github.com/alainfrisch |
| https://github.com/beloglazov |
| Anton Beloglazov (beloglazov) | https://github.com/beloglazov |
| on Sep 10, 2014 | https://github.com/microsoft/TypeScript/issues/186#issuecomment-55117608 |
| https://github.com/Artazor |
| Anatoly Ressin (Artazor) | https://github.com/Artazor |
| on Jan 21, 2016 | https://github.com/microsoft/TypeScript/issues/186#issuecomment-173719173 |
| Dan Quirk (@danquirk) | https://github.com/danquirk |
| https://github.com/weswigham |
| Wesley Wigham (weswigham) | https://github.com/weswigham |
| on Jan 21, 2016 | https://github.com/microsoft/TypeScript/issues/186#issuecomment-173746972 |
| Anatoly Ressin (@Artazor) | https://github.com/Artazor |
| investigation | https://github.com/Microsoft/TypeScript/pull/6062 |
| https://github.com/DanielRosenwasser |
| Daniel Rosenwasser (DanielRosenwasser) | https://github.com/DanielRosenwasser |
| on Jan 21, 2016 | https://github.com/microsoft/TypeScript/issues/186#issuecomment-173750021 |
| Anatoly Ressin (@Artazor) | https://github.com/Artazor |
| Wesley Wigham (@weswigham) | https://github.com/weswigham |
| https://github.com/simonbuchan |
| Simon Buchan (simonbuchan) | https://github.com/simonbuchan |
| on Mar 15, 2016 | https://github.com/microsoft/TypeScript/issues/186#issuecomment-197058404 |
| https://github.com/basarat |
| Basarat Ali Syed (basarat) | https://github.com/basarat |
| on Mar 15, 2016 | https://github.com/microsoft/TypeScript/issues/186#issuecomment-197070489 |
| Anatoly Ressin (@Artazor) | https://github.com/Artazor |
| #186 (comment) | https://github.com/microsoft/TypeScript/issues/186#issuecomment-173719173 |
| http://flowtype.org/docs/disjoint-unions.html# | http://flowtype.org/docs/disjoint-unions.html# |
| https://github.com/weswigham |
| Wesley Wigham (weswigham) | https://github.com/weswigham |
| on Mar 16, 2016 | https://github.com/microsoft/TypeScript/issues/186#issuecomment-197094414 |
| Basarat Ali Syed (@basarat) | https://github.com/basarat |
| #6062 | https://github.com/microsoft/TypeScript/pull/6062 |
| Anatoly Ressin (@Artazor) | https://github.com/Artazor |
| https://github.com/Artazor's | https://github.com/Artazor's |
| #186 | https://github.com/microsoft/TypeScript/issues/186 |
| #186 (comment) | https://github.com/microsoft/TypeScript/issues/186#issuecomment-173719173 |
| http://flowtype.org/docs/disjoint-unions.html# | http://flowtype.org/docs/disjoint-unions.html# |
| #186 (comment) | https://github.com/microsoft/TypeScript/issues/186#issuecomment-197070489 |
| https://github.com/ahejlsberg |
| Anders Hejlsberg (ahejlsberg) | https://github.com/ahejlsberg |
| on Jun 14, 2016 | https://github.com/microsoft/TypeScript/issues/186#issuecomment-226028526 |
| #9163 | https://github.com/microsoft/TypeScript/pull/9163 |
| Mohamed Hegazy (mhegazy) | https://github.com/mhegazy |
| TypeScript 2.0 | https://github.com/microsoft/TypeScript/milestone/1 |
| on Jun 15, 2016 | https://github.com/microsoft/TypeScript/issues/186#event-692629093 |
| Mohamed Hegazy (mhegazy) | https://github.com/mhegazy |
| CommittedThe team has roadmapped this issue | https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Committed%22 |
| Needs ProposalThis issue needs a plan that clarifies the finer details of how it could be implemented. | https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Needs%20Proposal%22 |
| on Jun 15, 2016 | https://github.com/microsoft/TypeScript/issues/186#event-692629163 |
| Mohamed Hegazy (mhegazy) | https://github.com/mhegazy |
| Anders Hejlsberg (ahejlsberg) | https://github.com/ahejlsberg |
| on Jun 15, 2016 | https://github.com/microsoft/TypeScript/issues/186#event-692629184 |
| Mohamed Hegazy (mhegazy) | https://github.com/mhegazy |
| completed | https://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted |
| on Jun 17, 2016 | https://github.com/microsoft/TypeScript/issues/186#event-696492070 |
| Mohamed Hegazy (mhegazy) | https://github.com/mhegazy |
| FixedA PR has been merged for this issue | https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fixed%22 |
| on Jun 17, 2016 | https://github.com/microsoft/TypeScript/issues/186#event-696492121 |
| https://github.com/shelby3 |
| shelby3 | https://github.com/shelby3 |
| on Sep 10, 2016 | https://github.com/microsoft/TypeScript/issues/186#issuecomment-246087546 |
| Aleksey-Bykov | https://github.com/Aleksey-Bykov |
| wrote | https://github.com/Microsoft/TypeScript/issues/186#issuecomment-68818764 |
| abstract class instead of interface | https://github.com/Microsoft/TypeScript/issues/1007#issuecomment-246085962 |
| Dan Quirk (@danquirk) | https://github.com/danquirk |
| wrote | https://github.com/Microsoft/TypeScript/issues/186#issuecomment-68818961 |
| #1007 | https://github.com/microsoft/TypeScript/issues/1007 |
| appears to me to be undesirable | https://github.com/Microsoft/TypeScript/issues/1007#issuecomment-246085962 |
| Mike Stay (@metaweta) | https://github.com/metaweta |
| wrote | https://github.com/Microsoft/TypeScript/issues/186#issuecomment-67721221 |
| Andy Hanson (@andy-hanson) | https://github.com/andy-hanson |
| wrote | https://github.com/Microsoft/TypeScript/issues/186#issuecomment-171174165 |
| Yegor Roganov (@roganov) | https://github.com/roganov |
| wrote | https://github.com/Microsoft/TypeScript/issues/186#issuecomment-170492714 |
| Andy Hanson (@andy-hanson) | https://github.com/andy-hanson |
| wrote | https://github.com/Microsoft/TypeScript/issues/186#issuecomment-170294078 |
| Ivo Gabe de Wolff (@ivogabe) | https://github.com/ivogabe |
| wrote | https://github.com/Microsoft/TypeScript/issues/186#issuecomment-170286495 |
| Andy Hanson (@andy-hanson) | https://github.com/andy-hanson |
| wrote | https://github.com/Microsoft/TypeScript/issues/186#issuecomment-170283836 |
| formalize nominal class subtyping | https://github.com/Microsoft/TypeScript/issues/202#issuecomment-245997289 |
| Basarat Ali Syed (@basarat) | https://github.com/basarat |
| wrote | https://github.com/Microsoft/TypeScript/issues/186#issuecomment-197070489 |
| Anatoly Ressin (@Artazor) | https://github.com/Artazor |
| wrote | https://github.com/Microsoft/TypeScript/issues/186#issuecomment-173719173 |
| #9163 | https://github.com/microsoft/TypeScript/pull/9163 |
| microsoft | https://github.com/microsoft |
| on Jun 18, 2018 | https://github.com/microsoft/TypeScript/issues/186#event-1686902544 |
| Sign up for free | https://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/186 |
| Sign in to comment | https://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/186 |
| Anders Hejlsberg (ahejlsberg) | https://github.com/ahejlsberg |
| CommittedThe team has roadmapped this issue | https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Committed%22 |
| FixedA PR has been merged for this issue | https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fixed%22 |
| SuggestionAn idea for TypeScript | https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22 |
| TypeScript 2.0 | https://github.com/microsoft/TypeScript/milestone/1 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |