René's URL Explorer Experiment


Title: Contextual generic function types by ahejlsberg · Pull Request #16305 · microsoft/TypeScript · GitHub

Open Graph Title: Contextual generic function types by ahejlsberg · Pull Request #16305 · microsoft/TypeScript

X Title: Contextual generic function types by ahejlsberg · Pull Request #16305 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Contextual generic function types by ahejlsberg · Pull Request #16305 · microsoft/TypeScript

Open Graph Description: With this PR we do not erase the type parameters of contextual generic function types. Instead, the type parameters are allowed to propagate into the contextually typed expression. For example: con...

X Description: With this PR we do not erase the type parameters of contextual generic function types. Instead, the type parameters are allowed to propagate into the contextually typed expression. For example: con...

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

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:a59411c8-46f5-302a-0034-6c5e5fc6d34d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBC90:95C88:5B54AD:7B7B38:6B00D0F0
html-safe-nonce749a14713b764dca4895a11dccd11de9f250a27263f1c6731d7cb2f470f976ac
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzkwOjk1Qzg4OjVCNTRBRDo3QjdCMzg6NkIwMEQwRjAiLCJ2aXNpdG9yX2lkIjoiMzI5NDk3ODc0MjM5NjQ0MDgxNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf077f5c01e6718b32a406aae17c848846baae31108aba9a917ae66da91508c6c
hovercard-subject-tagpull_request:124285341
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/16305/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/21c028620be0ccb34a9ae0cae42a1f3e7f9b85f1017c67b3fc6849371268defb/microsoft/TypeScript/pull/16305
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/21c028620be0ccb34a9ae0cae42a1f3e7f9b85f1017c67b3fc6849371268defb/microsoft/TypeScript/pull/16305
og:image:altWith this PR we do not erase the type parameters of contextual generic function types. Instead, the type parameters are allowed to propagate into the contextually typed expression. For example: con...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameahejlsberg
hostnamegithub.com
expected-hostnamegithub.com
None85bbdfe2b6ba16e234513bc6ceff5d848ef8449820c900692a2b4e67061931e5
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
release4943239a6d2c591325dad6e5c313e1cafda877f6
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/16305#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F16305
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%2F16305
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/16305
Reloadhttps://github.com/microsoft/TypeScript/pull/16305
Reloadhttps://github.com/microsoft/TypeScript/pull/16305
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests307 (307)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
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
masterhttps://github.com/microsoft/TypeScript/tree/master
contextualGenericTypeshttps://github.com/microsoft/TypeScript/tree/contextualGenericTypes
Conversationhttps://github.com/microsoft/TypeScript/pull/16305
Commits9 (9)https://github.com/microsoft/TypeScript/pull/16305/commits
Checkshttps://github.com/microsoft/TypeScript/pull/16305/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/16305/files
Contextual generic function typeshttps://github.com/microsoft/TypeScript/pull/16305#top
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
masterhttps://github.com/microsoft/TypeScript/tree/master
contextualGenericTypeshttps://github.com/microsoft/TypeScript/tree/contextualGenericTypes
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Jun 6, 2017https://github.com/microsoft/TypeScript/pull/16305#issue-234020685
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/16305
#16072https://github.com/microsoft/TypeScript/pull/16072
#16293https://github.com/microsoft/TypeScript/issues/16293
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/16305
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
June 3, 2017 16:44https://github.com/microsoft/TypeScript/pull/16305#commits-pushed-dbf0362
https://github.com/ahejlsberg
Include SymbolFlags.Function in couldContainTypeVariables checkhttps://github.com/microsoft/TypeScript/pull/16305/commits/dbf036298db36fa48940a8e6549a8607ea1ce562
dbf0362https://github.com/microsoft/TypeScript/pull/16305/commits/dbf036298db36fa48940a8e6549a8607ea1ce562
https://github.com/ahejlsberg
Preserve type parameters in generic contextual pure function typeshttps://github.com/microsoft/TypeScript/pull/16305/commits/9e613b9fd54495bb5d980498c15fc83e2430b5e3
9e613b9https://github.com/microsoft/TypeScript/pull/16305/commits/9e613b9fd54495bb5d980498c15fc83e2430b5e3
https://github.com/ahejlsberg
Allow contextual signature to be generichttps://github.com/microsoft/TypeScript/pull/16305/commits/0f6f8577020eaa13f245cb1baee66a81c802fa0e
0f6f857https://github.com/microsoft/TypeScript/pull/16305/commits/0f6f8577020eaa13f245cb1baee66a81c802fa0e
https://github.com/ahejlsberg
Fix fourslash testshttps://github.com/microsoft/TypeScript/pull/16305/commits/634c75c4262b2adeb25e7c2068f951351981e415
634c75chttps://github.com/microsoft/TypeScript/pull/16305/commits/634c75c4262b2adeb25e7c2068f951351981e415
https://github.com/ahejlsberg
Accept new baselineshttps://github.com/microsoft/TypeScript/pull/16305/commits/8a7693908d4f894d8804280e667fe70f5aff2e4a
8a76939https://github.com/microsoft/TypeScript/pull/16305/commits/8a7693908d4f894d8804280e667fe70f5aff2e4a
https://github.com/ahejlsberg
Add testshttps://github.com/microsoft/TypeScript/pull/16305/commits/61223f2ab05cb0924be9766c69f17ad2e0841dc5
61223f2https://github.com/microsoft/TypeScript/pull/16305/commits/61223f2ab05cb0924be9766c69f17ad2e0841dc5
https://github.com/ahejlsberg
Fix fourslash testshttps://github.com/microsoft/TypeScript/pull/16305/commits/34710a33b5a8f18f1cdc9fa9ec728968e6e16c1e
34710a3https://github.com/microsoft/TypeScript/pull/16305/commits/34710a33b5a8f18f1cdc9fa9ec728968e6e16c1e
https://github.com/msftclas
Microsoft Contribution License Agreements (msftclas)https://github.com/msftclas
cla-not-required https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3Acla-not-required
Jun 6, 2017https://github.com/microsoft/TypeScript/pull/16305#event-1112561385
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
June 6, 2017 20:59https://github.com/microsoft/TypeScript/pull/16305#event-1112573829
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
June 6, 2017 14:57https://github.com/microsoft/TypeScript/pull/16305#commits-pushed-98a5c9b
https://github.com/ahejlsberg
Merge branch 'master' into contextualGenericTypeshttps://github.com/microsoft/TypeScript/pull/16305/commits/98a5c9b73fe2bdacd1b37186f7f212a213697989
98a5c9bhttps://github.com/microsoft/TypeScript/pull/16305/commits/98a5c9b73fe2bdacd1b37186f7f212a213697989
https://github.com/ahejlsberg
Accept new baselineshttps://github.com/microsoft/TypeScript/pull/16305/commits/1c967c3485949f27ce54cd4286a26117ccf492be
1c967c3https://github.com/microsoft/TypeScript/pull/16305/commits/1c967c3485949f27ce54cd4286a26117ccf492be
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Jun 6, 2017 https://github.com/microsoft/TypeScript/pull/16305#pullrequestreview-42461698
View reviewed changes https://github.com/microsoft/TypeScript/pull/16305/files/1c967c3485949f27ce54cd4286a26117ccf492be
https://github.com/zpdDG4gta8XKpMCd
ZpdDG4gta (zpdDG4gta8XKpMCd)https://github.com/zpdDG4gta8XKpMCd
Jun 6, 2017https://github.com/microsoft/TypeScript/pull/16305#issuecomment-306639418
#13039 (comment)https://github.com/microsoft/TypeScript/issues/13039#issuecomment-268129526
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/16305
https://github.com/DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
Jun 7, 2017 https://github.com/microsoft/TypeScript/pull/16305#pullrequestreview-42475023
View reviewed changes https://github.com/microsoft/TypeScript/pull/16305/files/1c967c3485949f27ce54cd4286a26117ccf492be
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/16305/files/1c967c3485949f27ce54cd4286a26117ccf492be#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
Jun 6, 2017https://github.com/microsoft/TypeScript/pull/16305#discussion_r120507053
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/16305
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/16305/files/1c967c3485949f27ce54cd4286a26117ccf492be#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
Jun 6, 2017https://github.com/microsoft/TypeScript/pull/16305#discussion_r120507124
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/16305
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Jun 7, 2017https://github.com/microsoft/TypeScript/pull/16305#discussion_r120511872
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/16305
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
5888804https://github.com/microsoft/TypeScript/commit/588880487cf2ed150a9f3c869a894ac71ca66cfc
Jun 7, 2017https://github.com/microsoft/TypeScript/pull/16305#event-1112803054
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
June 7, 2017 00:49https://github.com/microsoft/TypeScript/pull/16305#event-1112803124
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Jun 8, 2017 https://github.com/microsoft/TypeScript/pull/16305#ref-pullrequest-234635909
Stricter generic signature checks #16368 https://github.com/microsoft/TypeScript/pull/16368
https://github.com/DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
Jun 9, 2017 https://github.com/microsoft/TypeScript/pull/16305#ref-issue-234932435
Design Meeting Notes, 6/9/2017 #16415 https://github.com/microsoft/TypeScript/issues/16415
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Jun 14, 2017 https://github.com/microsoft/TypeScript/pull/16305#ref-issue-235735262
Circular inference failure (regression) #16512 https://github.com/microsoft/TypeScript/issues/16512
https://github.com/SlurpTheo
SlurpTheohttps://github.com/SlurpTheo
Jun 15, 2017 https://github.com/microsoft/TypeScript/pull/16305#ref-issue-162238912
'Discarding Parameters' plus 'Duck Typing' makes every parameter optional? #9352 https://github.com/microsoft/TypeScript/issues/9352
https://github.com/DylanRJohnston
Dylan R. Johnston (DylanRJohnston)https://github.com/DylanRJohnston
Jun 15, 2017 https://github.com/microsoft/TypeScript/pull/16305#ref-issue-236306671
Left and Right don't unify gcanti/fp-ts#128 https://github.com/gcanti/fp-ts/issues/128
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Jun 14, 2018https://github.com/microsoft/TypeScript/pull/16305#event-1682149424
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%2F16305
https://github.com/DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser) https://github.com/DanielRosenwasser
https://github.com/microsoft/TypeScript/pull/16305/files/1c967c3485949f27ce54cd4286a26117ccf492be
https://github.com/mhegazy
Mohamed Hegazy (mhegazy) https://github.com/mhegazy
https://github.com/microsoft/TypeScript/pull/16305/files/1c967c3485949f27ce54cd4286a26117ccf492be
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/16305
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/16305
https://github.com/ahejlsberg
https://github.com/zpdDG4gta8XKpMCd
https://github.com/DanielRosenwasser
https://github.com/mhegazy
https://github.com/msftclas
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.