René's URL Explorer Experiment


Title: Bail early in getNarrowedTypeWorker if type is candidate by jakebailey · Pull Request #55926 · microsoft/TypeScript · GitHub

Open Graph Title: Bail early in getNarrowedTypeWorker if type is candidate by jakebailey · Pull Request #55926 · microsoft/TypeScript

X Title: Bail early in getNarrowedTypeWorker if type is candidate by jakebailey · Pull Request #55926 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Bail early in getNarrowedTypeWorker if type is candidate by jakebailey · Pull Request #55926 · microsoft/TypeScript

Open Graph Description: This technically handles #52345 (comment) and maybe #55948, bringing it back to <=4.7 levels, but I think it's a little silly to narrow something to itself. But, probably cheap to check anyhow.

X Description: This technically handles #52345 (comment) and maybe #55948, bringing it back to <=4.7 levels, but I think it's a little silly to narrow something to itself. But, probably cheap to check anyhow.

Opengraph URL: https://github.com/microsoft/TypeScript/pull/55926

X: @github

direct link

Domain: github.com

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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:3ba2dcea-3db7-faaf-ae9e-4d5e593399a0
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEA70:DB09F:E00855:11E9297:6B010A5E
html-safe-nonceb93b81c412184452a5b1cf814ad4b2eaea095f3cddfd5c0f7762b477c9851c3c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTcwOkRCMDlGOkUwMDg1NToxMUU5Mjk3OjZCMDEwQTVFIiwidmlzaXRvcl9pZCI6Ijg4NDYwMjAzNjk1NTE3ODg2MzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac90499992aee2965803f65c881f055f112d9c23e6c33cacdb9bd151384a9cbe1e
hovercard-subject-tagpull_request:1536522865
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/microsoft/TypeScript/55926/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6535db696ab18967543d80db9cc676e5d4ae6f1c49a9d0b21f01fd62a540a5c3/microsoft/TypeScript/pull/55926
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6535db696ab18967543d80db9cc676e5d4ae6f1c49a9d0b21f01fd62a540a5c3/microsoft/TypeScript/pull/55926
og:image:altThis technically handles #52345 (comment) and maybe #55948, bringing it back to <=4.7 levels, but I think it's a little silly to narrow something to itself. But, probably cheap to check anyhow.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejakebailey
hostnamegithub.com
expected-hostnamegithub.com
Nonecb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124
turbo-cache-controlno-cache
go-importgithub.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id20929025
octolytics-dimension-repository_nwomicrosoft/TypeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20929025
octolytics-dimension-repository_network_root_nwomicrosoft/TypeScript
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
release2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/55926#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F55926
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%2Fmicrosoft%2FTypeScript%2Fpull%2F55926
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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=microsoft%2FTypeScript
Reloadhttps://github.com/microsoft/TypeScript/pull/55926
Reloadhttps://github.com/microsoft/TypeScript/pull/55926
Reloadhttps://github.com/microsoft/TypeScript/pull/55926
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests310 (310)https://github.com/microsoft/TypeScript/pulls
Actionshttps://github.com/microsoft/TypeScript/actions
Projectshttps://github.com/microsoft/TypeScript/projects
Wikihttps://github.com/microsoft/TypeScript/wiki
Security and qualityhttps://github.com/microsoft/TypeScript/security
Insightshttps://github.com/microsoft/TypeScript/insights
https://github.com/microsoft/TypeScript
Jake Bailey (jakebailey)https://github.com/jakebailey
microsoft:mainhttps://github.com/microsoft/TypeScript/tree/main
jakebailey:fix-52345-otherhttps://github.com/jakebailey/TypeScript/tree/fix-52345-other
Conversationhttps://github.com/microsoft/TypeScript/pull/55926
Commits2 (2)https://github.com/microsoft/TypeScript/pull/55926/commits
Checkshttps://github.com/microsoft/TypeScript/pull/55926/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/55926/files
Bail early in getNarrowedTypeWorker if type is candidatehttps://github.com/microsoft/TypeScript/pull/55926#top
Jake Bailey (jakebailey)https://github.com/jakebailey
microsoft:mainhttps://github.com/microsoft/TypeScript/tree/main
jakebailey:fix-52345-otherhttps://github.com/jakebailey/TypeScript/tree/fix-52345-other
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
Sep 30, 2023https://github.com/microsoft/TypeScript/pull/55926#issue-1920164210
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55926
#52345 (comment)https://github.com/microsoft/TypeScript/issues/52345#issuecomment-1737898885
#55948https://github.com/microsoft/TypeScript/issues/55948
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55926
https://github.com/jakebailey
Bail early in getNarrowedTypeWorker if type is candidatehttps://github.com/microsoft/TypeScript/pull/55926/commits/b330fbce4deeab765ac3fa3b9ad07db282b92e27
b330fbchttps://github.com/microsoft/TypeScript/pull/55926/commits/b330fbce4deeab765ac3fa3b9ad07db282b92e27
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Jake Bailey (jakebailey)https://github.com/jakebailey
Sep 30, 2023https://github.com/microsoft/TypeScript/pull/55926#event-10516895023
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Author: Team https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Author%3A%20Team%22
For Uncommitted Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Uncommitted%20Bug%22
Sep 30, 2023https://github.com/microsoft/TypeScript/pull/55926#event-10516895038
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
Sep 30, 2023https://github.com/microsoft/TypeScript/pull/55926#issuecomment-1741708480
TypeScript Bot (@typescript-bot)https://github.com/typescript-bot
TypeScript Bot (@typescript-bot)https://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55926
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Sep 30, 2023https://github.com/microsoft/TypeScript/pull/55926#issuecomment-1741708490
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55926
Jake Bailey (@jakebailey)https://github.com/jakebailey
b330fbchttps://github.com/microsoft/TypeScript/commit/b330fbce4deeab765ac3fa3b9ad07db282b92e27
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=158041
The results are in!https://github.com/microsoft/TypeScript/pull/55926#issuecomment-1741711819
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55926
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Sep 30, 2023https://github.com/microsoft/TypeScript/pull/55926#issuecomment-1741708492
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55926
Jake Bailey (@jakebailey)https://github.com/jakebailey
b330fbchttps://github.com/microsoft/TypeScript/commit/b330fbce4deeab765ac3fa3b9ad07db282b92e27
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=158040
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55926
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
Sep 30, 2023 https://github.com/microsoft/TypeScript/pull/55926#ref-issue-1551568591
Performance regression from #48044 #52345 https://github.com/microsoft/TypeScript/issues/52345
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Sep 30, 2023https://github.com/microsoft/TypeScript/pull/55926#issuecomment-1741708797
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55926
Jake Bailey (@jakebailey)https://github.com/jakebailey
an installable tgzhttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_apis/build/builds/158040/artifacts?artifactName=tgz&fileId=5B641F9BC561DDCDFE93B4E7D8D9581096D3B6BE20D3E0ED9F4417909E1BA7EC02&fileName=/typescript-5.3.0-insiders.20230930.tgz
for this buildhttps://www.staging-typescript.org/play?ts=5.3.0-pr-55926-3
npmhttps://www.npmjs.com/package/@typescript-deploys/pr-build/v/5.3.0-pr-55926-3
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55926
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Sep 30, 2023https://github.com/microsoft/TypeScript/pull/55926#issuecomment-1741711819
Jake Bailey (@jakebailey)https://github.com/jakebailey
Download Benchmarkshttps://typescript.visualstudio.com/TypeScript/_build/results?buildId=158041&view=artifacts
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55926
https://github.com/jakebailey
And in negative case, use equalityhttps://github.com/microsoft/TypeScript/pull/55926/commits/1c14f5cfbe603954e7d804c12335faf58216cd72
1c14f5chttps://github.com/microsoft/TypeScript/pull/55926/commits/1c14f5cfbe603954e7d804c12335faf58216cd72
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
Oct 2, 2023https://github.com/microsoft/TypeScript/pull/55926#issuecomment-1742361960
TypeScript Bot (@typescript-bot)https://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55926
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Oct 2, 2023https://github.com/microsoft/TypeScript/pull/55926#issuecomment-1742361984
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55926
Jake Bailey (@jakebailey)https://github.com/jakebailey
1c14f5chttps://github.com/microsoft/TypeScript/commit/1c14f5cfbe603954e7d804c12335faf58216cd72
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=158055
The results are in!https://github.com/microsoft/TypeScript/pull/55926#issuecomment-1742367749
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55926
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Oct 2, 2023https://github.com/microsoft/TypeScript/pull/55926#issuecomment-1742367749
Jake Bailey (@jakebailey)https://github.com/jakebailey
Download Benchmarkshttps://typescript.visualstudio.com/TypeScript/_build/results?buildId=158055&view=artifacts
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55926
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
October 12, 2023 21:54https://github.com/microsoft/TypeScript/pull/55926#event-10637237979
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Gabriela Araujo Britto (gabritto)https://github.com/gabritto
Wesley Wigham (weswigham)https://github.com/weswigham
October 12, 2023 21:54https://github.com/microsoft/TypeScript/pull/55926#event-10637240317
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
Oct 12, 2023https://github.com/microsoft/TypeScript/pull/55926#issuecomment-1760419882
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55926
https://github.com/gabritto
Gabriela Araujo Britto (gabritto)https://github.com/gabritto
Oct 13, 2023https://github.com/microsoft/TypeScript/pull/55926#issuecomment-1760589278
https://github.com/epmatsw/tsdemo/blob/main/slow.tshttps://github.com/epmatsw/tsdemo/blob/main/slow.ts
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55926
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
Oct 13, 2023https://github.com/microsoft/TypeScript/pull/55926#issuecomment-1760647675
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55926
https://github.com/gabritto
Gabriela Araujo Britto (gabritto)https://github.com/gabritto
Oct 13, 2023https://github.com/microsoft/TypeScript/pull/55926#issuecomment-1760698050
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55926
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
Oct 13, 2023https://github.com/microsoft/TypeScript/pull/55926#issuecomment-1760786302
https://github.com/epmatsw/tsdemo/tree/b2a2af937e492819045ea4e880a56236494c2147https://github.com/epmatsw/tsdemo/tree/b2a2af937e492819045ea4e880a56236494c2147
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55926
https://github.com/gabritto
Gabriela Araujo Britto (gabritto)https://github.com/gabritto
Oct 13, 2023https://github.com/microsoft/TypeScript/pull/55926#issuecomment-1761995769
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55926
https://github.com/gabritto
Gabriela Araujo Britto (gabritto)https://github.com/gabritto
Oct 13, 2023 https://github.com/microsoft/TypeScript/pull/55926#pullrequestreview-1677110999
View reviewed changes https://github.com/microsoft/TypeScript/pull/55926/files/1c14f5cfbe603954e7d804c12335faf58216cd72
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Nov 6, 2023 https://github.com/microsoft/TypeScript/pull/55926#pullrequestreview-1716520503
View reviewed changes https://github.com/microsoft/TypeScript/pull/55926/files/1c14f5cfbe603954e7d804c12335faf58216cd72
Wesley Wigham (weswigham)https://github.com/weswigham
https://github.com/microsoft/TypeScript/pull/55926#pullrequestreview-1716520503
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55926
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
Nov 6, 2023https://github.com/microsoft/TypeScript/pull/55926#issuecomment-1797034782
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55926
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
4b29ab5https://github.com/microsoft/TypeScript/commit/4b29ab594c6c8e7f92936312bf8c91402ad12433
Nov 6, 2023https://github.com/microsoft/TypeScript/pull/55926#event-10880019144
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
November 6, 2023 23:50https://github.com/microsoft/TypeScript/pull/55926#event-10880019572
https://github.com/epmatsw
Will Stamper (epmatsw)https://github.com/epmatsw
Nov 27, 2023 https://github.com/microsoft/TypeScript/pull/55926#ref-pullrequest-2000646575
Strip tags in placeholders #56458 https://github.com/microsoft/TypeScript/pull/56458
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Oct 16, 2025https://github.com/microsoft/TypeScript/pull/55926#event-20324806159
https://github.co/hiddenchars
https://github.com/microsoft/TypeScript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F55926
https://github.com/weswigham
Wesley Wigham (weswigham) https://github.com/weswigham
https://github.com/microsoft/TypeScript/pull/55926/files/1c14f5cfbe603954e7d804c12335faf58216cd72
https://github.com/gabritto
Gabriela Araujo Britto (gabritto) https://github.com/gabritto
https://github.com/microsoft/TypeScript/pull/55926/files/1c14f5cfbe603954e7d804c12335faf58216cd72
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg) https://github.com/ahejlsberg
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55926
https://github.com/jakebailey
Jake Bailey (jakebailey) https://github.com/jakebailey
Author: Team https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Author%3A%20Team%22
For Uncommitted Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Uncommitted%20Bug%22
PR Backlog https://github.com/orgs/microsoft/projects/1252
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55926
https://github.com/jakebailey
https://github.com/typescript-bot
https://github.com/gabritto
https://github.com/weswigham
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.