René's URL Explorer Experiment


Title: Unwrap substitution types early in `getPropertyTypeForIndexType` by Andarist · Pull Request #57113 · microsoft/TypeScript · GitHub

Open Graph Title: Unwrap substitution types early in `getPropertyTypeForIndexType` by Andarist · Pull Request #57113 · microsoft/TypeScript

X Title: Unwrap substitution types early in `getPropertyTypeForIndexType` by Andarist · Pull Request #57113 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Unwrap substitution types early in `getPropertyTypeForIndexType` by Andarist · Pull Request #57113 · microsoft/TypeScript

Open Graph Description: fixes #57109 fixes #54886

X Description: fixes #57109 fixes #54886

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

X: @github

direct link

Domain: github.com

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:dac942c5-662e-8e19-8dc9-41e63b32fe84
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA10C:EF960:2224AC7:31FE62C:6A60CCC3
html-safe-nonce76598b7bbcf377870ebcbbcead5c691cb6b04d563dc5ea1551dbbe2eb9f4762b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTBDOkVGOTYwOjIyMjRBQzc6MzFGRTYyQzo2QTYwQ0NDMyIsInZpc2l0b3JfaWQiOiI0NzM2MTY4NDMwNjI0MzA5MTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac038d4bd0ed5ee7019115f9af1106a3b25dedf4c62f73a432a89648d90fbfba9b
hovercard-subject-tagpull_request:1688612389
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/57113/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d7b0b677d4cf47daed6182e8fe67d16b14bb1b1ed672013a9e0675e41a739e58/microsoft/TypeScript/pull/57113
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d7b0b677d4cf47daed6182e8fe67d16b14bb1b1ed672013a9e0675e41a739e58/microsoft/TypeScript/pull/57113
og:image:altfixes #57109 fixes #54886
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAndarist
hostnamegithub.com
expected-hostnamegithub.com
Nonea9556c67fd2e63f5fecafc192915a3b089ef8170a9384ff6b59d7b4a2f6b73f8
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
releasef464e59c3a800187a50f3c89c36ee16df9992c1b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/57113#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F57113
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F57113
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
Reloadhttps://github.com/microsoft/TypeScript/pull/57113
Reloadhttps://github.com/microsoft/TypeScript/pull/57113
Reloadhttps://github.com/microsoft/TypeScript/pull/57113
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57113
microsoft https://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Notifications https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript
Fork 13.6k https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript
Star 110k https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript
Code https://github.com/microsoft/TypeScript
Issues 5k+ https://github.com/microsoft/TypeScript/issues
Pull requests 30 https://github.com/microsoft/TypeScript/pulls
Actions https://github.com/microsoft/TypeScript/actions
Projects https://github.com/microsoft/TypeScript/projects
Models https://github.com/microsoft/TypeScript/models
Wiki https://github.com/microsoft/TypeScript/wiki
Security and quality 0 https://github.com/microsoft/TypeScript/security
Insights https://github.com/microsoft/TypeScript/pulse
Code https://github.com/microsoft/TypeScript
Issues https://github.com/microsoft/TypeScript/issues
Pull requests https://github.com/microsoft/TypeScript/pulls
Actions https://github.com/microsoft/TypeScript/actions
Projects https://github.com/microsoft/TypeScript/projects
Models https://github.com/microsoft/TypeScript/models
Wiki https://github.com/microsoft/TypeScript/wiki
Security and quality https://github.com/microsoft/TypeScript/security
Insights https://github.com/microsoft/TypeScript/pulse
Andaristhttps://github.com/Andarist
microsoft:mainhttps://github.com/microsoft/TypeScript/tree/main
Andarist:fix/avoid-redundant-substitution-typeshttps://github.com/Andarist/TypeScript/tree/fix/avoid-redundant-substitution-types
Conversationhttps://github.com/microsoft/TypeScript/pull/57113
Commits6 (6)https://github.com/microsoft/TypeScript/pull/57113/commits
Checkshttps://github.com/microsoft/TypeScript/pull/57113/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/57113/files
Unwrap substitution types early in getPropertyTypeForIndexTypehttps://github.com/microsoft/TypeScript/pull/57113#top
Andaristhttps://github.com/Andarist
microsoft:mainhttps://github.com/microsoft/TypeScript/tree/main
Andarist:fix/avoid-redundant-substitution-typeshttps://github.com/Andarist/TypeScript/tree/fix/avoid-redundant-substitution-types
https://github.com/Andarist
Andaristhttps://github.com/Andarist
Jan 21, 2024https://github.com/microsoft/TypeScript/pull/57113#issue-2092523627
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57113
#57109https://github.com/microsoft/TypeScript/issues/57109
#54886https://github.com/microsoft/TypeScript/issues/54886
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57113
https://github.com/Andarist
Avoid creating redundant substitution types in non-generic contextshttps://github.com/microsoft/TypeScript/pull/57113/commits/fdc0b7ee235e04b2ddd97aba4d37687b51f8349e
fdc0b7ehttps://github.com/microsoft/TypeScript/pull/57113/commits/fdc0b7ee235e04b2ddd97aba4d37687b51f8349e
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
For Uncommitted Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Uncommitted%20Bug%22
Jan 21, 2024https://github.com/microsoft/TypeScript/pull/57113#event-11548771518
https://github.com/Andarist
Andaristhttps://github.com/Andarist
Jan 21, 2024 https://github.com/microsoft/TypeScript/pull/57113#pullrequestreview-1835314291
View reviewed changes https://github.com/microsoft/TypeScript/pull/57113/files/fdc0b7ee235e04b2ddd97aba4d37687b51f8349e
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/57113/files/fdc0b7ee235e04b2ddd97aba4d37687b51f8349e#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57113
https://github.com/RyanCavanaugh
RyanCavanaughhttps://github.com/RyanCavanaugh
ahejlsberghttps://github.com/ahejlsberg
January 22, 2024 21:27https://github.com/microsoft/TypeScript/pull/57113#event-11562200830
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
For Backlog Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Backlog%20Bug%22
For Uncommitted Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Uncommitted%20Bug%22
Jan 22, 2024https://github.com/microsoft/TypeScript/pull/57113#event-11562201643
https://github.com/RyanCavanaugh
RyanCavanaughhttps://github.com/RyanCavanaugh
Jan 22, 2024 https://github.com/microsoft/TypeScript/pull/57113#ref-issue-2092743862
[NewErrors] 5.4.0-dev.20240121 vs 5.3.3 #57117 https://github.com/microsoft/TypeScript/issues/57117
https://github.com/sandersn
sandersnhttps://github.com/sandersn
weswighamhttps://github.com/weswigham
February 15, 2024 14:54https://github.com/microsoft/TypeScript/pull/57113#event-11816647494
https://github.com/sandersn
sandersnhttps://github.com/sandersn
ahejlsberghttps://github.com/ahejlsberg
Feb 15, 2024https://github.com/microsoft/TypeScript/pull/57113#event-11816651841
Andaristhttps://github.com/Andarist
June 27, 2024 09:57https://github.com/microsoft/TypeScript/pull/57113#commits-pushed-6163188
https://github.com/Andarist
Merge remote-tracking branch 'origin/main' into fix/avoid-redundant-s…https://github.com/microsoft/TypeScript/pull/57113/commits/6163188602dc144915f58310dcbeffb8d52ee277
6163188https://github.com/microsoft/TypeScript/pull/57113/commits/6163188602dc144915f58310dcbeffb8d52ee277
https://github.com/Andarist
Unwrap substitution types early in getPropertyTypeForIndexTypehttps://github.com/microsoft/TypeScript/pull/57113/commits/fec72b575e0901346c0886dce1e807c31161c892
fec72b5https://github.com/microsoft/TypeScript/pull/57113/commits/fec72b575e0901346c0886dce1e807c31161c892
https://github.com/Andarist
Andaristhttps://github.com/Andarist
Jun 27, 2024https://github.com/microsoft/TypeScript/pull/57113#event-13313923811
https://github.com/jakebailey
jakebaileyhttps://github.com/jakebailey
Jun 27, 2024https://github.com/microsoft/TypeScript/pull/57113#issuecomment-2194862513
@typescript-bothttps://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57113
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Jun 27, 2024https://github.com/microsoft/TypeScript/pull/57113#issuecomment-2194862964
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57113
✅ Startedhttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=162464
✅ Resultshttps://github.com/microsoft/TypeScript/pull/57113#issuecomment-2195162638
✅ Startedhttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=162465
✅ Resultshttps://github.com/microsoft/TypeScript/pull/57113#issuecomment-2194955242
✅ Startedhttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=162463
✅ Resultshttps://github.com/microsoft/TypeScript/pull/57113#issuecomment-2194932181
✅ Startedhttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=162466
👀 Resultshttps://github.com/microsoft/TypeScript/pull/57113#issuecomment-2194962341
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57113
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Jun 27, 2024https://github.com/microsoft/TypeScript/pull/57113#issuecomment-2194932181
@jakebaileyhttps://github.com/jakebailey
You can check the log herehttps://typescript.visualstudio.com/TypeScript/_build/index?buildId=162463&_a=summary
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57113
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Jun 27, 2024https://github.com/microsoft/TypeScript/pull/57113#issuecomment-2194955242
@jakebaileyhttps://github.com/jakebailey
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57113
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Jun 27, 2024https://github.com/microsoft/TypeScript/pull/57113#issuecomment-2194962341
@jakebaileyhttps://github.com/jakebailey
Download Benchmarkshttps://typescript.visualstudio.com/TypeScript/_build/results?buildId=162466&view=artifacts
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57113
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Jun 27, 2024https://github.com/microsoft/TypeScript/pull/57113#issuecomment-2195162638
@jakebaileyhttps://github.com/jakebailey
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57113
https://github.com/Andarist
add extra test casehttps://github.com/microsoft/TypeScript/pull/57113/commits/c647e5d81c3fb251b32dfeb9467ccb2c5bac3532
c647e5dhttps://github.com/microsoft/TypeScript/pull/57113/commits/c647e5d81c3fb251b32dfeb9467ccb2c5bac3532
https://github.com/Andarist
Andaristhttps://github.com/Andarist
Jul 13, 2024 https://github.com/microsoft/TypeScript/pull/57113#ref-pullrequest-1790978365
Prevent substitution types from leaking out of non-deferred conditionals #54894 https://github.com/microsoft/TypeScript/pull/54894
Andaristhttps://github.com/Andarist
December 3, 2025 10:02https://github.com/microsoft/TypeScript/pull/57113#commits-pushed-b0f0fc5
https://github.com/Andarist
Merge remote-tracking branch 'origin/main' into fix/avoid-redundant-s…https://github.com/microsoft/TypeScript/pull/57113/commits/b0f0fc570a517e1d50f4e34aff6c6a4cf3c4f5b5
b0f0fc5https://github.com/microsoft/TypeScript/pull/57113/commits/b0f0fc570a517e1d50f4e34aff6c6a4cf3c4f5b5
https://github.com/Andarist
intersect duhhttps://github.com/microsoft/TypeScript/pull/57113/commits/587532d679326f08e9985248c955e64b1cc63ac9
587532dhttps://github.com/microsoft/TypeScript/pull/57113/commits/587532d679326f08e9985248c955e64b1cc63ac9
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Mar 24, 2026https://github.com/microsoft/TypeScript/pull/57113#event-23867725434
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
PR Backloghttps://github.com/orgs/microsoft/projects/1252
Mar 24, 2026https://github.com/microsoft/TypeScript/pull/57113#event-23867746426
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Mar 24, 2026https://github.com/microsoft/TypeScript/pull/57113#issuecomment-4121432628
6.0 outhttps://devblogs.microsoft.com/typescript/announcing-typescript-6-0/
final release vehicle for this codebasehttps://redirect.github.com/microsoft/TypeScript/issues/62963
post-6.0 patch criteriahttps://redirect.github.com/microsoft/TypeScript/issues/62963#issuecomment-4100336368
6.0 iteration issuehttps://redirect.github.com/microsoft/TypeScript/issues/63085
typescript-go repohttps://redirect.github.com/microsoft/TypeScript-go
DOM Generator repohttps://redirect.github.com/microsoft/TypeScript-DOM-lib-generator
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57113
https://github.co/hiddenchars
https://github.com/microsoft/TypeScript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F57113
https://github.com/ahejlsberg
ahejlsberg https://github.com/ahejlsberg
https://github.com/weswigham
weswigham https://github.com/weswigham
https://github.com/ahejlsberg
ahejlsberg https://github.com/ahejlsberg
For Backlog Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Backlog%20Bug%22
PR Backlog https://github.com/orgs/microsoft/projects/1252
Literal tested as key of a certain type cannot be used as an index type https://github.com/microsoft/TypeScript/issues/57109
extends causing string literal can't be used as index https://github.com/microsoft/TypeScript/issues/54886
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/57113
https://github.com/Andarist
https://github.com/jakebailey
https://github.com/typescript-bot
https://github.com/weswigham
https://github.com/ahejlsberg
https://github.com/sandersn
https://github.com/RyanCavanaugh
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.