René's URL Explorer Experiment


Title: Infer type parameters from indexes on those parameters by weswigham · Pull Request #20126 · microsoft/TypeScript · GitHub

Open Graph Title: Infer type parameters from indexes on those parameters by weswigham · Pull Request #20126 · microsoft/TypeScript

X Title: Infer type parameters from indexes on those parameters by weswigham · Pull Request #20126 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Infer type parameters from indexes on those parameters by weswigham · Pull Request #20126 · microsoft/TypeScript

Open Graph Description: This alters the inference info to accumulate a set of partial inferences created by inferences to indexes on a type parameter. These partial inferences are then combined into one real inference whe...

X Description: This alters the inference info to accumulate a set of partial inferences created by inferences to indexes on a type parameter. These partial inferences are then combined into one real inference whe...

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

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:c42f06b6-1b5a-6392-a1a7-b6b41af9068f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB570:3E4205:2BC1E20:3A86D55:6B01D056
html-safe-nonce3d4917bab9bbccd83260e23245151fddab3a81dea03a5338df57e64cc5e2ccdf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTcwOjNFNDIwNToyQkMxRTIwOjNBODZENTU6NkIwMUQwNTYiLCJ2aXNpdG9yX2lkIjoiNDIxNTI3MDAwMDYxNDgyMTk3NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd0c1096d35b1f860089d261b60ac20d21c4197866f29b8518f6ae6a6fff6be05
hovercard-subject-tagpull_request:153435060
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/20126/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/33572c60b3c0ad99ad54fd2b37011a930a77e325731750a27c53f31ff326692e/microsoft/TypeScript/pull/20126
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/33572c60b3c0ad99ad54fd2b37011a930a77e325731750a27c53f31ff326692e/microsoft/TypeScript/pull/20126
og:image:altThis alters the inference info to accumulate a set of partial inferences created by inferences to indexes on a type parameter. These partial inferences are then combined into one real inference whe...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameweswigham
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/20126#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F20126
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%2F20126
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/20126
Reloadhttps://github.com/microsoft/TypeScript/pull/20126
Reloadhttps://github.com/microsoft/TypeScript/pull/20126
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests312 (312)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
Wesley Wigham (weswigham)https://github.com/weswigham
microsoft:masterhttps://github.com/microsoft/TypeScript/tree/master
weswigham:index-combined-inferenceshttps://github.com/weswigham/TypeScript/tree/index-combined-inferences
Conversationhttps://github.com/microsoft/TypeScript/pull/20126
Commits6 (6)https://github.com/microsoft/TypeScript/pull/20126/commits
Checkshttps://github.com/microsoft/TypeScript/pull/20126/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/20126/files
Infer type parameters from indexes on those parametershttps://github.com/microsoft/TypeScript/pull/20126#top
Wesley Wigham (weswigham)https://github.com/weswigham
microsoft:masterhttps://github.com/microsoft/TypeScript/tree/master
weswigham:index-combined-inferenceshttps://github.com/weswigham/TypeScript/tree/index-combined-inferences
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Nov 18, 2017https://github.com/microsoft/TypeScript/pull/20126#issue-275053604
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/20126
Nathan Shively-Sanders (@sandersn)https://github.com/sandersn
Daniel Rosenwasser (@DanielRosenwasser)https://github.com/DanielRosenwasser
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/20126
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
November 18, 2017 04:54https://github.com/microsoft/TypeScript/pull/20126#event-1348264679
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Nov 18, 2017 https://github.com/microsoft/TypeScript/pull/20126#pullrequestreview-77607332
View reviewed changes https://github.com/microsoft/TypeScript/pull/20126/files
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/20126/files#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Wesley Wigham (weswigham)https://github.com/weswigham
Nov 18, 2017https://github.com/microsoft/TypeScript/pull/20126#discussion_r151828751
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#20124https://github.com/microsoft/TypeScript/issues/20124
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/20126
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Nov 18, 2017 https://github.com/microsoft/TypeScript/pull/20126#pullrequestreview-77607354
View reviewed changes https://github.com/microsoft/TypeScript/pull/20126/files
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/20126/files#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Wesley Wigham (weswigham)https://github.com/weswigham
Nov 18, 2017https://github.com/microsoft/TypeScript/pull/20126#discussion_r151828776
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/20126
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
force-pushedhttps://github.com/microsoft/TypeScript/compare/df6c6031ba6166bd5cd4daf95d5650fab54fbe37..eaf2abcc26001460356cad101778c9b841eea198
df6c603https://github.com/microsoft/TypeScript/commit/df6c6031ba6166bd5cd4daf95d5650fab54fbe37
eaf2abchttps://github.com/microsoft/TypeScript/commit/eaf2abcc26001460356cad101778c9b841eea198
Compare https://github.com/microsoft/TypeScript/compare/df6c6031ba6166bd5cd4daf95d5650fab54fbe37..eaf2abcc26001460356cad101778c9b841eea198
November 22, 2017 01:57https://github.com/microsoft/TypeScript/pull/20126#event-1353215009
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Nov 22, 2017https://github.com/microsoft/TypeScript/pull/20126#issuecomment-346221938
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/20126
Daniel Rosenwasser (@DanielRosenwasser)https://github.com/DanielRosenwasser
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/20126
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Nov 29, 2017 https://github.com/microsoft/TypeScript/pull/20126#ref-issue-277932489
Generic type of superclass cannot be inferred from function call on a subclass #20348 https://github.com/microsoft/TypeScript/issues/20348
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Dec 1, 2017https://github.com/microsoft/TypeScript/pull/20126#issuecomment-348576559
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/20126
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Dec 1, 2017https://github.com/microsoft/TypeScript/pull/20126#issuecomment-348603350
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/20126
Mohamed Hegazy (@mhegazy)https://github.com/mhegazy
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/20126
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
force-pushedhttps://github.com/microsoft/TypeScript/compare/eaf2abcc26001460356cad101778c9b841eea198..031a3702ce06425d4913384b01a726b089c12a24
eaf2abchttps://github.com/microsoft/TypeScript/commit/eaf2abcc26001460356cad101778c9b841eea198
031a370https://github.com/microsoft/TypeScript/commit/031a3702ce06425d4913384b01a726b089c12a24
Compare https://github.com/microsoft/TypeScript/compare/eaf2abcc26001460356cad101778c9b841eea198..031a3702ce06425d4913384b01a726b089c12a24
December 1, 2017 21:45https://github.com/microsoft/TypeScript/pull/20126#event-1368487355
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Dec 1, 2017https://github.com/microsoft/TypeScript/pull/20126#issuecomment-348622950
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/20126
Mohamed Hegazy (@mhegazy)https://github.com/mhegazy
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/20126
Wesley Wigham (weswigham)https://github.com/weswigham
December 21, 2017 14:52https://github.com/microsoft/TypeScript/pull/20126#commits-pushed-3451575
https://github.com/weswigham
Infer type parameters from indexes on those parametershttps://github.com/microsoft/TypeScript/pull/20126/commits/34515759c014eecda74aab16a465c2121c3f51b7
3451575https://github.com/microsoft/TypeScript/pull/20126/commits/34515759c014eecda74aab16a465c2121c3f51b7
https://github.com/weswigham
Greatly simplify partial inference type instantiation through use of …https://github.com/microsoft/TypeScript/pull/20126/commits/f5b208c23f20125dad1d5ba1ffc38cac1c0a7e4b
f5b208chttps://github.com/microsoft/TypeScript/pull/20126/commits/f5b208c23f20125dad1d5ba1ffc38cac1c0a7e4b
https://github.com/weswigham
Add many more tests showing current behaviorshttps://github.com/microsoft/TypeScript/pull/20126/commits/ba064acf28177ec1fe61d1b4cedd7a1f1eabb972
ba064achttps://github.com/microsoft/TypeScript/pull/20126/commits/ba064acf28177ec1fe61d1b4cedd7a1f1eabb972
https://github.com/weswigham
Discriminate partial inferences if not complete enough to satisfy con…https://github.com/microsoft/TypeScript/pull/20126/commits/93afc105479da2b36798b4f6a0a8f6cb87778512
93afc10https://github.com/microsoft/TypeScript/pull/20126/commits/93afc105479da2b36798b4f6a0a8f6cb87778512
https://github.com/weswigham
Move case to prefered locationhttps://github.com/microsoft/TypeScript/pull/20126/commits/49e19617b41ee17a536ed50870c4e315c2c4f548
49e1961https://github.com/microsoft/TypeScript/pull/20126/commits/49e19617b41ee17a536ed50870c4e315c2c4f548
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
force-pushedhttps://github.com/microsoft/TypeScript/compare/031a3702ce06425d4913384b01a726b089c12a24..49e19617b41ee17a536ed50870c4e315c2c4f548
031a370https://github.com/microsoft/TypeScript/commit/031a3702ce06425d4913384b01a726b089c12a24
49e1961https://github.com/microsoft/TypeScript/commit/49e19617b41ee17a536ed50870c4e315c2c4f548
Compare https://github.com/microsoft/TypeScript/compare/031a3702ce06425d4913384b01a726b089c12a24..49e19617b41ee17a536ed50870c4e315c2c4f548
December 21, 2017 22:58https://github.com/microsoft/TypeScript/pull/20126#event-1398834396
https://github.com/weswigham
Small refactor to reduce how many comparisons are performedhttps://github.com/microsoft/TypeScript/pull/20126/commits/96772e5d88626ab7063acc0bdeedd1e0505abffa
96772e5https://github.com/microsoft/TypeScript/pull/20126/commits/96772e5d88626ab7063acc0bdeedd1e0505abffa
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Jan 8, 2018https://github.com/microsoft/TypeScript/pull/20126#issuecomment-356088760
Wesley Wigham (@weswigham)https://github.com/weswigham
Anders Hejlsberg (@ahejlsberg)https://github.com/ahejlsberg
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/20126
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Jun 13, 2018https://github.com/microsoft/TypeScript/pull/20126#issuecomment-396780168
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/20126
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Jun 13, 2018https://github.com/microsoft/TypeScript/pull/20126#event-1677611013
https://github.com/jcalz
Joe Calzaretta (jcalz)https://github.com/jcalz
Apr 11, 2022https://github.com/microsoft/TypeScript/pull/20126#issuecomment-1094425849
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/20126
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Apr 11, 2022https://github.com/microsoft/TypeScript/pull/20126#issuecomment-1094463955
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/20126
https://github.com/jcalz
Joe Calzaretta (jcalz)https://github.com/jcalz
Aug 28, 2022https://github.com/microsoft/TypeScript/pull/20126#issuecomment-1229478428
https://stackoverflow.com/questions/73519617/can-generic-indexed-access-parameters-be-constrainedhttps://stackoverflow.com/questions/73519617/can-generic-indexed-access-parameters-be-constrained
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/20126
https://github.com/jcalz
Joe Calzaretta (jcalz)https://github.com/jcalz
Sep 21, 2022https://github.com/microsoft/TypeScript/pull/20126#issuecomment-1254224567
this SO questionhttps://stackoverflow.com/q/73791499/2887218
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/20126
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Mar 14, 2023 https://github.com/microsoft/TypeScript/pull/20126#ref-pullrequest-1602702042
Infer type parameters from indexes on those parameters #53017 https://github.com/microsoft/TypeScript/pull/53017
https://github.com/Andarist
Mateusz Burzyński (Andarist)https://github.com/Andarist
May 15, 2023 https://github.com/microsoft/TypeScript/pull/20126#ref-issue-1710521592
Named/keyed type parameters #54254 https://github.com/microsoft/TypeScript/issues/54254
https://github.com/jcalz
Joe Calzaretta (jcalz)https://github.com/jcalz
Jul 3, 2024 https://github.com/microsoft/TypeScript/pull/20126#ref-issue-2387559304
[Generic type] Function type of the returned result is not mapped to the parameter #59124 https://github.com/microsoft/TypeScript/issues/59124
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Oct 21, 2025https://github.com/microsoft/TypeScript/pull/20126#event-20415548102
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%2F20126
https://github.com/sandersn
Nathan Shively-Sanders (sandersn) https://github.com/sandersn
https://github.com/DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser) https://github.com/DanielRosenwasser
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg) https://github.com/ahejlsberg
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/20126
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/20126
https://github.com/weswigham
https://github.com/mhegazy
https://github.com/typescript-bot
https://github.com/jcalz
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.