| 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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:c77ad09b-9b4c-acf6-4588-8bb1eed54682 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C082:19F84C:7EB8FA:A5346B:6B00D74E |
| html-safe-nonce | bb92e9e4831f9746c4945a87919819d2829d6967891d04d105a2cd34a3c2cf20 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDgyOjE5Rjg0Qzo3RUI4RkE6QTUzNDZCOjZCMDBENzRFIiwidmlzaXRvcl9pZCI6IjgwNjk4MDkwMjQ4NDI5MTM2MTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 08b9943a8032d50e0aad61e008d1ad4ca6ca6a668a0d29265de847ccb01bddf6 |
| hovercard-subject-tag | pull_request:75353434 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/microsoft/TypeScript-Handbook/330/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/64e4a22e652e1e9c7df0f9a6ca389e51600a08affb1f579ff556946860e2dfe2/microsoft/TypeScript-Handbook/pull/330 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/64e4a22e652e1e9c7df0f9a6ca389e51600a08affb1f579ff556946860e2dfe2/microsoft/TypeScript-Handbook/pull/330 |
| og:image:alt | Fixes #312
Also move intersection types together with union types.
Also some minor fixups. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sandersn |
| hostname | github.com |
| expected-hostname | github.com |
| None | a481f62a1e04c9b9bdcb5628230682c66d59006f5b13b080f79cba84a176905b |
| turbo-cache-control | no-cache |
| go-import | github.com/microsoft/TypeScript-Handbook git https://github.com/microsoft/TypeScript-Handbook.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 33742985 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript-Handbook |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 33742985 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript-Handbook |
| 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 | 84c8c5cc25e2fb7f2308428458538436baecc6d2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/microsoft/TypeScript-Handbook/pull/330#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript-Handbook%2Fpull%2F330 |
| 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-Handbook%2Fpull%2F330 |
| 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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=microsoft%2FTypeScript-Handbook |
| Reload | https://github.com/microsoft/TypeScript-Handbook/pull/330 |
| Reload | https://github.com/microsoft/TypeScript-Handbook/pull/330 |
| Reload | https://github.com/microsoft/TypeScript-Handbook/pull/330 |
| microsoft | https://github.com/microsoft |
| TypeScript-Handbook | https://github.com/microsoft/TypeScript-Handbook |
| Code | https://github.com/microsoft/TypeScript-Handbook |
| Issues174 (174) | https://github.com/microsoft/TypeScript-Handbook/issues |
| Pull requests7 (7) | https://github.com/microsoft/TypeScript-Handbook/pulls |
| Actions | https://github.com/microsoft/TypeScript-Handbook/actions |
| Projects | https://github.com/microsoft/TypeScript-Handbook/projects |
| Security and quality | https://github.com/microsoft/TypeScript-Handbook/security |
| Insights | https://github.com/microsoft/TypeScript-Handbook/insights |
| https://github.com/microsoft/TypeScript-Handbook |
| Nathan Shively-Sanders (sandersn) | https://github.com/sandersn |
| release-2.0 | https://github.com/microsoft/TypeScript-Handbook/tree/release-2.0 |
| discriminated-unions | https://github.com/microsoft/TypeScript-Handbook/tree/discriminated-unions |
| Conversation | https://github.com/microsoft/TypeScript-Handbook/pull/330 |
| Commits5 (5) | https://github.com/microsoft/TypeScript-Handbook/pull/330/commits |
| Checks | https://github.com/microsoft/TypeScript-Handbook/pull/330/checks |
| Files changed | https://github.com/microsoft/TypeScript-Handbook/pull/330/files |
| Document discriminated unions | https://github.com/microsoft/TypeScript-Handbook/pull/330#top |
| Nathan Shively-Sanders (sandersn) | https://github.com/sandersn |
| release-2.0 | https://github.com/microsoft/TypeScript-Handbook/tree/release-2.0 |
| discriminated-unions | https://github.com/microsoft/TypeScript-Handbook/tree/discriminated-unions |
|
| https://github.com/sandersn |
| Nathan Shively-Sanders (sandersn) | https://github.com/sandersn |
| Jun 27, 2016 | https://github.com/microsoft/TypeScript-Handbook/pull/330#issue-162511172 |
| #312 | https://github.com/microsoft/TypeScript-Handbook/issues/312 |
| Please reload this page | https://github.com/microsoft/TypeScript-Handbook/pull/330 |
|
| https://github.com/sandersn |
| Document discriminated unions | https://github.com/microsoft/TypeScript-Handbook/pull/330/commits/939650d392f389090b663bc5117234cfda5d4812 |
| 939650d | https://github.com/microsoft/TypeScript-Handbook/pull/330/commits/939650d392f389090b663bc5117234cfda5d4812 |
| 819891d | https://github.com/microsoft/TypeScript-Handbook/commit/819891dd8762daadf6366ed9ec966c818a156006 |
| https://github.com/sandersn |
| Nathan Shively-Sanders (sandersn) | https://github.com/sandersn |
| Jun 27, 2016 | https://github.com/microsoft/TypeScript-Handbook/pull/330#issuecomment-228901059 |
| Daniel Rosenwasser (@DanielRosenwasser) | https://github.com/DanielRosenwasser |
| Please reload this page | https://github.com/microsoft/TypeScript-Handbook/pull/330 |
| DanielRosenwasser | https://github.com/DanielRosenwasser |
|
Jun 27, 2016
| https://github.com/microsoft/TypeScript-Handbook/pull/330#discussion-diff-68674209 |
| View reviewed changes
| https://github.com/microsoft/TypeScript-Handbook/pull/330/files/939650d392f389090b663bc5117234cfda5d4812#diff-b3b1c6d27788a67cf5ca2f85d1e1933f0c18f0aaf54b9a154bfc40db14e6995a |
| pages/Advanced Types.md | https://github.com/microsoft/TypeScript-Handbook/pull/330/files#diff-b3b1c6d27788a67cf5ca2f85d1e1933f0c18f0aaf54b9a154bfc40db14e6995a |
| Daniel Rosenwasser (DanielRosenwasser) | https://github.com/DanielRosenwasser |
| Jun 27, 2016 | https://github.com/microsoft/TypeScript-Handbook/pull/330#discussion_r68674209 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript-Handbook/pull/330 |
| Nathan Shively-Sanders (sandersn) | https://github.com/sandersn |
| Jun 28, 2016 | https://github.com/microsoft/TypeScript-Handbook/pull/330#discussion_r68775645 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript-Handbook/pull/330 |
| Nathan Shively-Sanders (sandersn) | https://github.com/sandersn |
| Jul 12, 2016 | https://github.com/microsoft/TypeScript-Handbook/pull/330#discussion_r70481423 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| I'm Steve again | https://www.penny-arcade.com/comic/2013/03/15/the-lexiconnoisseurs |
| Please reload this page | https://github.com/microsoft/TypeScript-Handbook/pull/330 |
|
| https://github.com/sandersn |
| Address first round of PR comments | https://github.com/microsoft/TypeScript-Handbook/pull/330/commits/cb4086cd352790dee977d75065d3a24ca7099955 |
| cb4086c | https://github.com/microsoft/TypeScript-Handbook/pull/330/commits/cb4086cd352790dee977d75065d3a24ca7099955 |
| https://github.com/sandersn |
| Nathan Shively-Sanders (sandersn) | https://github.com/sandersn |
| Jul 7, 2016 | https://github.com/microsoft/TypeScript-Handbook/pull/330#issuecomment-231114341 |
| Please reload this page | https://github.com/microsoft/TypeScript-Handbook/pull/330 |
| Daniel Rosenwasser (@DanielRosenwasser) | https://github.com/DanielRosenwasser |
| Please reload this page | https://github.com/microsoft/TypeScript-Handbook/pull/330 |
| DanielRosenwasser | https://github.com/DanielRosenwasser |
|
Jul 11, 2016
| https://github.com/microsoft/TypeScript-Handbook/pull/330#discussion-diff-70322699 |
| View reviewed changes
| https://github.com/microsoft/TypeScript-Handbook/pull/330/files/cb4086cd352790dee977d75065d3a24ca7099955#diff-b3b1c6d27788a67cf5ca2f85d1e1933f0c18f0aaf54b9a154bfc40db14e6995a |
| pages/Advanced Types.md | https://github.com/microsoft/TypeScript-Handbook/pull/330/files#diff-b3b1c6d27788a67cf5ca2f85d1e1933f0c18f0aaf54b9a154bfc40db14e6995a |
| Daniel Rosenwasser (DanielRosenwasser) | https://github.com/DanielRosenwasser |
| Jul 11, 2016 | https://github.com/microsoft/TypeScript-Handbook/pull/330#discussion_r70322699 |
| Please reload this page | https://github.com/microsoft/TypeScript-Handbook/pull/330 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript-Handbook/pull/330 |
| Nathan Shively-Sanders (sandersn) | https://github.com/sandersn |
| Jul 11, 2016 | https://github.com/microsoft/TypeScript-Handbook/pull/330#discussion_r70336133 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript-Handbook/pull/330 |
| Nathan Shively-Sanders (sandersn) | https://github.com/sandersn |
| July 11, 2016 14:28 | https://github.com/microsoft/TypeScript-Handbook/pull/330#commits-pushed-b14106c |
|
| https://github.com/sandersn |
| Address PR comments | https://github.com/microsoft/TypeScript-Handbook/pull/330/commits/b14106cac7f9d379d578de472294dbe20d23b759 |
| b14106c | https://github.com/microsoft/TypeScript-Handbook/pull/330/commits/b14106cac7f9d379d578de472294dbe20d23b759 |
|
| https://github.com/sandersn |
| Go back to --strictNullChecks example | https://github.com/microsoft/TypeScript-Handbook/pull/330/commits/96c3804946cd46180d93a7f2a1f5124f0612e971 |
| 96c3804 | https://github.com/microsoft/TypeScript-Handbook/pull/330/commits/96c3804946cd46180d93a7f2a1f5124f0612e971 |
|
| https://github.com/DanielRosenwasser |
| Update Advanced Types.md | https://github.com/microsoft/TypeScript-Handbook/pull/330/commits/e5dd67e932ae1058f2d3bce1e8888002059f46ee |
| e5dd67e | https://github.com/microsoft/TypeScript-Handbook/pull/330/commits/e5dd67e932ae1058f2d3bce1e8888002059f46ee |
| https://github.com/sandersn |
| Nathan Shively-Sanders (sandersn) | https://github.com/sandersn |
| 0a667ce | https://github.com/microsoft/TypeScript-Handbook/commit/0a667ce98e41140b6f5cb2acf1647e55dda8f8d8 |
| Jul 18, 2016 | https://github.com/microsoft/TypeScript-Handbook/pull/330#event-726787049 |
| https://github.com/sandersn |
| Nathan Shively-Sanders (sandersn) | https://github.com/sandersn |
| July 18, 2016 22:13 | https://github.com/microsoft/TypeScript-Handbook/pull/330#event-726787102 |
| https://github.com/ayanray |
| Ayan Ray (ayanray) | https://github.com/ayanray |
|
Mar 23, 2017
| https://github.com/microsoft/TypeScript-Handbook/pull/330#ref-pullrequest-216343146 |
|
Exhaustive checking example for string literals
ayanray/TypeScript-Handbook#1
| https://github.com/ayanray/TypeScript-Handbook/pull/1 |
| https://github.co/hiddenchars |
| https://github.com/microsoft/TypeScript-Handbook/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript-Handbook%2Fpull%2F330 |
| Please reload this page | https://github.com/microsoft/TypeScript-Handbook/pull/330 |
| Please reload this page | https://github.com/microsoft/TypeScript-Handbook/pull/330 |
|
| https://github.com/sandersn |
|
| https://github.com/DanielRosenwasser |
|
| 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 |