René's URL Explorer Experiment


Title: fix(52440): typeof ... === "undefined" check on mapped object member doesn't narrow correctly, for only some purposes by a-tarasyuk · Pull Request #52456 · microsoft/TypeScript · GitHub

Open Graph Title: fix(52440): typeof ... === "undefined" check on mapped object member doesn't narrow correctly, for only some purposes by a-tarasyuk · Pull Request #52456 · microsoft/TypeScript

X Title: fix(52440): typeof ... === "undefined" check on mapped object member doesn't narrow correctly, for only some purposes by a-tarasyuk · Pull Request #52456 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - fix(52440): typeof ... === "undefined" check on mapped object member doesn't narrow correctly, for only some purposes by a-tarasyuk · Pull Request #52456 · microsoft/TypeScript

Open Graph Description: Fixes #52440

X Description: Fixes #52440

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3

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:4b6a2dc2-d383-9d41-0fb7-400b57fc2c4f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCF98:A12D8:7821B8:A4E38E:6B047ACF
html-safe-nonce54a141ee66cac8312da975c0c9ec0cb7071e6b7f9f4afe11d3fae0940245b040
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjk4OkExMkQ4Ojc4MjFCODpBNEUzOEU6NkIwNDdBQ0YiLCJ2aXNpdG9yX2lkIjoiMzkzOTg3MzA2ODM0ODExMTU2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac17d4b5ef7378df57cb53a79107d0bdcc9ba3623657df8a6afb3c85d78fb758c0
hovercard-subject-tagpull_request:1219073755
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/52456/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/fc5d55b8249fe39aa198be3e44f14da6e0d7c209496d5c32c22da795272b81e8/microsoft/TypeScript/pull/52456
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fc5d55b8249fe39aa198be3e44f14da6e0d7c209496d5c32c22da795272b81e8/microsoft/TypeScript/pull/52456
og:image:altFixes #52440
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamea-tarasyuk
hostnamegithub.com
expected-hostnamegithub.com
None0366ddfb372682a32e92a5d86155cb08fa83e5bbe79953a968789f2f7e24c511
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
releaseed3f2e01f6b7672780c586c8af0e72726374d7b6
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/52456#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F52456
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%2F52456
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/52456
Reloadhttps://github.com/microsoft/TypeScript/pull/52456
Reloadhttps://github.com/microsoft/TypeScript/pull/52456
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests320 (320)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
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
microsoft:mainhttps://github.com/microsoft/TypeScript/tree/main
a-tarasyuk:fix/52440https://github.com/a-tarasyuk/TypeScript/tree/fix/52440
Conversationhttps://github.com/microsoft/TypeScript/pull/52456
Commits1 (1)https://github.com/microsoft/TypeScript/pull/52456/commits
Checkshttps://github.com/microsoft/TypeScript/pull/52456/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/52456/files
fix(52440): typeof ... === "undefined" check on mapped object member doesn't narrow correctly, for only some purposeshttps://github.com/microsoft/TypeScript/pull/52456#top
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
microsoft:mainhttps://github.com/microsoft/TypeScript/tree/main
a-tarasyuk:fix/52440https://github.com/a-tarasyuk/TypeScript/tree/fix/52440
https://github.com/a-tarasyuk
Oleksandr Tarasiuk (a-tarasyuk)https://github.com/a-tarasyuk
Jan 27, 2023https://github.com/microsoft/TypeScript/pull/52456#issue-1559490668
#52440https://github.com/microsoft/TypeScript/issues/52440
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/52456
https://github.com/a-tarasyuk
fix(52440): narrow mapped object member type in typeofhttps://github.com/microsoft/TypeScript/pull/52456/commits/e09645c8af19d7b45d40f536f26b091e29b9581a
e09645chttps://github.com/microsoft/TypeScript/pull/52456/commits/e09645c8af19d7b45d40f536f26b091e29b9581a
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
For Backlog Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Backlog%20Bug%22
Jan 27, 2023https://github.com/microsoft/TypeScript/pull/52456#event-8371795948
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Jan 27, 2023https://github.com/microsoft/TypeScript/pull/52456#issuecomment-1407011208
TypeScript Bot (@typescript-bot)https://github.com/typescript-bot
TypeScript Bot (@typescript-bot)https://github.com/typescript-bot
TypeScript Bot (@typescript-bot)https://github.com/typescript-bot
TypeScript Bot (@typescript-bot)https://github.com/typescript-bot
TypeScript Bot (@typescript-bot)https://github.com/typescript-bot
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/52456
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Jan 27, 2023https://github.com/microsoft/TypeScript/pull/52456#issuecomment-1407011262
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/52456
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
e09645chttps://github.com/microsoft/TypeScript/commit/e09645c8af19d7b45d40f536f26b091e29b9581a
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=144342
The results are in!https://github.com/microsoft/TypeScript/pull/52456#issuecomment-1407131747
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/52456
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Jan 27, 2023https://github.com/microsoft/TypeScript/pull/52456#issuecomment-1407011263
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/52456
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
e09645chttps://github.com/microsoft/TypeScript/commit/e09645c8af19d7b45d40f536f26b091e29b9581a
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=144341
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/52456
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Jan 27, 2023https://github.com/microsoft/TypeScript/pull/52456#issuecomment-1407011264
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/52456
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
e09645chttps://github.com/microsoft/TypeScript/commit/e09645c8af19d7b45d40f536f26b091e29b9581a
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=144344
The results are in!https://github.com/microsoft/TypeScript/pull/52456#issuecomment-1407026653
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/52456
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Jan 27, 2023https://github.com/microsoft/TypeScript/pull/52456#issuecomment-1407011265
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/52456
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
e09645chttps://github.com/microsoft/TypeScript/commit/e09645c8af19d7b45d40f536f26b091e29b9581a
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=144345
The results are in!https://github.com/microsoft/TypeScript/pull/52456#issuecomment-1407100719
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/52456
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Jan 27, 2023https://github.com/microsoft/TypeScript/pull/52456#issuecomment-1407011266
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/52456
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
e09645chttps://github.com/microsoft/TypeScript/commit/e09645c8af19d7b45d40f536f26b091e29b9581a
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=144343
The results are in!https://github.com/microsoft/TypeScript/pull/52456#issuecomment-1407023040
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/52456
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Jan 27, 2023https://github.com/microsoft/TypeScript/pull/52456#issuecomment-1407011267
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/52456
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
e09645chttps://github.com/microsoft/TypeScript/commit/e09645c8af19d7b45d40f536f26b091e29b9581a
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=144340
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/52456
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Jan 27, 2023https://github.com/microsoft/TypeScript/pull/52456#issuecomment-1407011271
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/52456
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
e09645chttps://github.com/microsoft/TypeScript/commit/e09645c8af19d7b45d40f536f26b091e29b9581a
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=144346
The results are in!https://github.com/microsoft/TypeScript/pull/52456#issuecomment-1407108196
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/52456
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Jan 27, 2023https://github.com/microsoft/TypeScript/pull/52456#issuecomment-1407023040
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/52456
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Jan 27, 2023https://github.com/microsoft/TypeScript/pull/52456#issuecomment-1407026653
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/52456
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Jan 27, 2023https://github.com/microsoft/TypeScript/pull/52456#issuecomment-1407032142
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
here.https://mseng.visualstudio.com/DefaultCollection/Typescript/_git/Typescript/pullrequest/699080
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/52456
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Jan 27, 2023https://github.com/microsoft/TypeScript/pull/52456#issuecomment-1407100719
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/52456
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Jan 27, 2023https://github.com/microsoft/TypeScript/pull/52456#issuecomment-1407108196
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/52456
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Jan 27, 2023https://github.com/microsoft/TypeScript/pull/52456#issuecomment-1407131747
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
Download Benchmarkhttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_apis/build/builds/144342/artifacts?artifactName=benchmark&fileId=71E2C7E8A5176BCFD5FDB6AD3F31178C75BD2F0D7A66D5B9BC5A51D8FB70D5B301&fileName=linux.benchmark
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/52456
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
3c0a3e5https://github.com/microsoft/TypeScript/commit/3c0a3e536c90b16538a7442bf8411d51359dfe2c
Jan 30, 2023https://github.com/microsoft/TypeScript/pull/52456#event-8391243624
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Jan 30, 2023https://github.com/microsoft/TypeScript/pull/52456#issuecomment-1409115119
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/52456
https://github.com/Andarist
Mateusz Burzyński (Andarist)https://github.com/Andarist
Feb 1, 2023 https://github.com/microsoft/TypeScript/pull/52456#ref-pullrequest-1236374165
Improve intersection reduction and CFA for truthy, equality, and typeof checks #49119 https://github.com/microsoft/TypeScript/pull/49119
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Oct 22, 2025https://github.com/microsoft/TypeScript/pull/52456#event-20417658288
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%2F52456
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/52456
For Backlog Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Backlog%20Bug%22
typeof ... === "undefined" check on mapped object member doesn't narrow correctly, for only some purposes https://github.com/microsoft/TypeScript/issues/52440
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/52456
https://github.com/a-tarasyuk
https://github.com/RyanCavanaugh
https://github.com/typescript-bot
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.