René's URL Explorer Experiment


Title: Type narrowing for `NgSwitch` and `NgSwitchCase` · Issue #20780 · angular/angular · GitHub

Open Graph Title: Type narrowing for `NgSwitch` and `NgSwitchCase` · Issue #20780 · angular/angular

X Title: Type narrowing for `NgSwitch` and `NgSwitchCase` · Issue #20780 · angular/angular

Description: Current behavior No type narrowing is performed when using NgSwitch and NgSwitchCase. Expected behavior Narrow the types used in the NgSwitchCase based on the selection criteria. See #17953 (comment) and following for more details.

Open Graph Description: Current behavior No type narrowing is performed when using NgSwitch and NgSwitchCase. Expected behavior Narrow the types used in the NgSwitchCase based on the selection criteria. See #17953 (commen...

X Description: Current behavior No type narrowing is performed when using NgSwitch and NgSwitchCase. Expected behavior Narrow the types used in the NgSwitchCase based on the selection criteria. See #17953 (commen...

Opengraph URL: https://github.com/angular/angular/issues/20780

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Type narrowing for `NgSwitch` and `NgSwitchCase`","articleBody":"## Current behavior\r\n\r\nNo type narrowing is performed when using `NgSwitch` and `NgSwitchCase`.\r\n\r\n## Expected behavior\r\n\r\nNarrow the types used in the `NgSwitchCase` based on the selection criteria.\r\n\r\nSee https://github.com/angular/angular/issues/17953#issuecomment-348993040 and following for more details.\r\n","author":{"url":"https://github.com/chuckjaz","@type":"Person","name":"chuckjaz"},"datePublished":"2017-12-04T18:08:07Z","url":"https://github.com/angular/angular/issues/20780"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:34a15718-1852-2517-d266-c579bb39551f
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE2F0:6365:375C7EC:49CDAC9:6B0216CA
html-safe-nonce51d03d766409eeee81cf28ef16a5acbf56f320196d01dc15d93051df976490d0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMkYwOjYzNjU6Mzc1QzdFQzo0OUNEQUM5OjZCMDIxNkNBIiwidmlzaXRvcl9pZCI6IjIzNTU4MTc3MTI4NjY5NTcwMDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac4d1ed4f86e9b2e7c55b4bfbb9f4e78c327e441cd7b8da3949b75d63cd6cf282a
hovercard-subject-tagissue:279093165
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/20780/issue_layout
twitter:imagehttps://opengraph.githubassets.com/6b4979d80349cf54069d885865b524394103a44be3eec6c21bd5611e13f2884f/angular/angular/issues/20780
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6b4979d80349cf54069d885865b524394103a44be3eec6c21bd5611e13f2884f/angular/angular/issues/20780
og:image:altCurrent behavior No type narrowing is performed when using NgSwitch and NgSwitchCase. Expected behavior Narrow the types used in the NgSwitchCase based on the selection criteria. See #17953 (commen...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamechuckjaz
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
go-importgithub.com/angular/angular git https://github.com/angular/angular.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id24195339
octolytics-dimension-repository_nwoangular/angular
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24195339
octolytics-dimension-repository_network_root_nwoangular/angular
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular/issues/20780#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F20780
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F20780
Sign uphttps://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=angular%2Fangular
Reloadhttps://github.com/angular/angular/issues/20780
Reloadhttps://github.com/angular/angular/issues/20780
Reloadhttps://github.com/angular/angular/issues/20780
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues835 (835)https://github.com/angular/angular/issues
Pull requests142 (142)https://github.com/angular/angular/pulls
Discussionshttps://github.com/angular/angular/discussions
Actionshttps://github.com/angular/angular/actions
Projectshttps://github.com/angular/angular/projects
Security and quality40 (40)https://github.com/angular/angular/security
Insightshttps://github.com/angular/angular/insights
https://github.com/angular/angular
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/20780
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/20780
Type narrowing for NgSwitch and NgSwitchCasehttps://github.com/angular/angular/issues/20780#top
https://github.com/JoostK
https://github.com/alxhub
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenthttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22P3%22
area: commonIssues related to APIs in the @angular/common packagehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20common%22
area: compilerIssues related to `ngc`, Angular's template compilerhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20compiler%22
compiler: template type-checkinghttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22compiler%3A%20template%20type-checking%22
featureLabel used to distinguish feature request from other issueshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22feature%22
feature: under considerationFeature request for which voting has completed and the request is now under considerationhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22feature%3A%20under%20consideration%22
Backloghttps://github.com/angular/angular/milestone/82
https://github.com/chuckjaz
chuckjazhttps://github.com/chuckjaz
on Dec 4, 2017https://github.com/angular/angular/issues/20780#issue-279093165
#17953 (comment)https://github.com/angular/angular/issues/17953#issuecomment-348993040
Nexthttps://github.com/angular/angular/issues/20780?timeline_page=1
chuckjazhttps://github.com/chuckjaz
area: coreIssues related to the framework runtimehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20core%22
featureLabel used to distinguish feature request from other issueshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22feature%22
on Dec 4, 2017https://github.com/angular/angular/issues/20780#event-1371049587
ngbothttps://github.com/apps/ngbot
Backloghttps://github.com/angular/angular/milestone/82
on Jan 23, 2018https://github.com/angular/angular/issues/20780#event-1437520491
https://github.com/dirkluijk
dirkluijkhttps://github.com/dirkluijk
on Feb 1, 2018https://github.com/angular/angular/issues/20780#issuecomment-362195604
https://github.com/waterplea
waterpleahttps://github.com/waterplea
on Sep 9, 2019https://github.com/angular/angular/issues/20780#issuecomment-529346534
@dirkluijkhttps://github.com/dirkluijk
https://github.com/amitport
amitporthttps://github.com/amitport
on Oct 31, 2019https://github.com/angular/angular/issues/20780#issuecomment-548319049
@chuckjazhttps://github.com/chuckjaz
https://github.com/dirkluijk
dirkluijkhttps://github.com/dirkluijk
on Jan 21, 2020https://github.com/angular/angular/issues/20780#issuecomment-576472594
https://github.com/SchnWalter
SchnWalterhttps://github.com/SchnWalter
on Jan 21, 2020https://github.com/angular/angular/issues/20780#issuecomment-576768593
pkozlowski-opensourcehttps://github.com/pkozlowski-opensource
area: commonIssues related to APIs in the @angular/common packagehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20common%22
area: compilerIssues related to `ngc`, Angular's template compilerhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20compiler%22
area: coreIssues related to the framework runtimehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20core%22
on Mar 17, 2020https://github.com/angular/angular/issues/20780#event-3137002333
https://github.com/klemenoslaj
klemenoslajhttps://github.com/klemenoslaj
on Jun 24, 2020https://github.com/angular/angular/issues/20780#issuecomment-648945955
JoostKhttps://github.com/JoostK
compiler: template type-checkinghttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22compiler%3A%20template%20type-checking%22
on Nov 7, 2020https://github.com/angular/angular/issues/20780#event-3970220749
https://github.com/Lonli-Lokli
Lonli-Loklihttps://github.com/Lonli-Lokli
on Jan 21, 2021https://github.com/angular/angular/issues/20780#issuecomment-764589697
petebacondarwinhttps://github.com/petebacondarwin
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenthttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22P3%22
on Jan 21, 2021https://github.com/angular/angular/issues/20780#event-4233426274
https://github.com/flevi29
flevi29https://github.com/flevi29
on Jun 16, 2023https://github.com/angular/angular/issues/20780#issuecomment-1594603890
@dirkluijkhttps://github.com/dirkluijk
"if-else-if"https://stackoverflow.com/questions/43812770/ngif-else-if-in-template
https://github.com/Jrubzjeknf
Jrubzjeknfhttps://github.com/Jrubzjeknf
on Jun 16, 2023https://github.com/angular/angular/issues/20780#issuecomment-1594662197
#50719https://github.com/angular/angular/discussions/50719
https://github.com/stealthAngel
stealthAngelhttps://github.com/stealthAngel
on Aug 25, 2023https://github.com/angular/angular/issues/20780#issuecomment-1692964618
@dirkluijkhttps://github.com/dirkluijk
git repository for an examplehttps://github.com/stealthAngel/easy-angular-polymorphism/tree/main
https://github.com/baratgabor
baratgaborhttps://github.com/baratgabor
on Aug 30, 2023https://github.com/angular/angular/issues/20780#issuecomment-1699881567
https://github.com/maxime1992
maxime1992https://github.com/maxime1992
on Aug 31, 2023https://github.com/angular/angular/issues/20780#issuecomment-1700642484
@baratgaborhttps://github.com/baratgabor
https://github.com/jpike88
jpike88https://github.com/jpike88
on Oct 20, 2023https://github.com/angular/angular/issues/20780#issuecomment-1771979830
https://github.com/juane1000
juane1000https://github.com/juane1000
on Oct 20, 2023https://github.com/angular/angular/issues/20780#issuecomment-1771983949
https://github.com/jpike88
jpike88https://github.com/jpike88
on Oct 20, 2023https://github.com/angular/angular/issues/20780#issuecomment-1771992674
https://github.com/JeanMeche
JeanMechehttps://github.com/JeanMeche
on Oct 20, 2023https://github.com/angular/angular/issues/20780#issuecomment-1772238192
https://github.com/jpike88
jpike88https://github.com/jpike88
on Oct 20, 2023https://github.com/angular/angular/issues/20780#issuecomment-1772442573
https://private-user-images.githubusercontent.com/9585787/276896322-ef300adc-74e4-49ef-8297-4058433b8da8.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyOTkzMTksIm5iZiI6MTc5NTI5OTAxOSwicGF0aCI6Ii85NTg1Nzg3LzI3Njg5NjMyMi1lZjMwMGFkYy03NGU0LTQ5ZWYtODI5Ny00MDU4NDMzYjhkYTgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjFUMjIxMDE5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MjQ2NGVjMjBkZmViMmY4MWEyZTI1MGY3ZDJlNjU3ZWRiODgzZTc1OTBjMzUyMjliMmI1ZTFkNTNmMTRiYTRjOCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.jcZyWV6tE259NVZmdnKow4or0EXaZaqIWP7c1R_UhyA
https://github.com/jpike88
jpike88https://github.com/jpike88
on Oct 23, 2023https://github.com/angular/angular/issues/20780#issuecomment-1774302108
https://github.com/alxhub
alxhubhttps://github.com/alxhub
on Dec 15, 2023https://github.com/angular/angular/issues/20780#issuecomment-1858170043
alxhubhttps://github.com/alxhub
completedhttps://github.com/angular/angular/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Dec 15, 2023https://github.com/angular/angular/issues/20780#event-11261597769
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Jan 15, 2024https://github.com/angular/angular/issues/20780#issuecomment-1891122951
automatic conversation locking policyhttps://github.com/angular/angular/blob/8f24bc9443b3872fe095d9f7f77b308a361a13b4/docs/GITHUB_PROCESS.md#conversation-locking
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Jan 15, 2024https://github.com/angular/angular/issues/20780#event-11482456078
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/20780
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/20780
JoostKhttps://github.com/JoostK
alxhubhttps://github.com/alxhub
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenthttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22P3%22
area: commonIssues related to APIs in the @angular/common packagehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20common%22
area: compilerIssues related to `ngc`, Angular's template compilerhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20compiler%22
compiler: template type-checkinghttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22compiler%3A%20template%20type-checking%22
featureLabel used to distinguish feature request from other issueshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22feature%22
feature: under considerationFeature request for which voting has completed and the request is now under considerationhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22feature%3A%20under%20consideration%22
BacklogNo due datehttps://github.com/angular/angular/milestone/82
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.