René's URL Explorer Experiment


Title: Improve generic function inference by ahejlsberg · Pull Request #30193 · microsoft/TypeScript · GitHub

Open Graph Title: Improve generic function inference by ahejlsberg · Pull Request #30193 · microsoft/TypeScript

X Title: Improve generic function inference by ahejlsberg · Pull Request #30193 · microsoft/TypeScript

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

Open Graph Description: This PR addresses several issues related to type inference involving combinations of contextually typed arrow functions and generic functions. In general, type argument inference defers processing ...

X Description: This PR addresses several issues related to type inference involving combinations of contextually typed arrow functions and generic functions. In general, type argument inference defers processing ...

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

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:c50dfb5a-c4e7-5a0f-20f9-598abcf8bc56
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBE10:15692B:437697:6355AC:6A61EB20
html-safe-noncee0fd999e1d4c5529d7fd3c9edeef69cc5e014be90b6d1150f123168210a06269
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRTEwOjE1NjkyQjo0Mzc2OTc6NjM1NUFDOjZBNjFFQjIwIiwidmlzaXRvcl9pZCI6IjYxOTYzODQzNDUxODIzMDA5NjAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac6ff5faaea24f82ba95f651506213ab448d7d9b1292797c6bf47fff0bd7c656d0
hovercard-subject-tagpull_request:257692980
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/30193/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/718b4f3dfd451d56dcaf58e5403f5052b2c71043110c486a393b93443cafee73/microsoft/TypeScript/pull/30193
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/718b4f3dfd451d56dcaf58e5403f5052b2c71043110c486a393b93443cafee73/microsoft/TypeScript/pull/30193
og:image:altThis PR addresses several issues related to type inference involving combinations of contextually typed arrow functions and generic functions. In general, type argument inference defers processing ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameahejlsberg
hostnamegithub.com
expected-hostnamegithub.com
None5dd1217fff37e297563b9d318ee02bf6378c8957c6195b77786bb8896fc9c95d
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
release554667f6dda2a53c83687de64fabc457970f0f04
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/30193#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F30193
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%2F30193
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/30193
Reloadhttps://github.com/microsoft/TypeScript/pull/30193
Reloadhttps://github.com/microsoft/TypeScript/pull/30193
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30193
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 21 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
ahejlsberghttps://github.com/ahejlsberg
masterhttps://github.com/microsoft/TypeScript/tree/master
deferGenericFunctionInferencehttps://github.com/microsoft/TypeScript/tree/deferGenericFunctionInference
Conversationhttps://github.com/microsoft/TypeScript/pull/30193
Commits7 (7)https://github.com/microsoft/TypeScript/pull/30193/commits
Checkshttps://github.com/microsoft/TypeScript/pull/30193/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/30193/files
Improve generic function inferencehttps://github.com/microsoft/TypeScript/pull/30193#top
ahejlsberghttps://github.com/ahejlsberg
masterhttps://github.com/microsoft/TypeScript/tree/master
deferGenericFunctionInferencehttps://github.com/microsoft/TypeScript/tree/deferGenericFunctionInference
https://github.com/ahejlsberg
ahejlsberghttps://github.com/ahejlsberg
Mar 2, 2019https://github.com/microsoft/TypeScript/pull/30193#issue-416443097
#25791https://github.com/microsoft/TypeScript/issues/25791
#25826https://github.com/microsoft/TypeScript/issues/25826
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30193
ahejlsberghttps://github.com/ahejlsberg
February 28, 2019 06:15https://github.com/microsoft/TypeScript/pull/30193#commits-pushed-b44bfaa
https://github.com/ahejlsberg
Convert CheckMode to a flags style enumhttps://github.com/microsoft/TypeScript/pull/30193/commits/b44bfaaaa8edf88e83779e1f0399a8518dfff389
b44bfaahttps://github.com/microsoft/TypeScript/pull/30193/commits/b44bfaaaa8edf88e83779e1f0399a8518dfff389
https://github.com/ahejlsberg
Skip generic functions along with context sensitive argumentshttps://github.com/microsoft/TypeScript/pull/30193/commits/23473e021b0006f37d0d2e8f9c5c9de182641cd6
23473e0https://github.com/microsoft/TypeScript/pull/30193/commits/23473e021b0006f37d0d2e8f9c5c9de182641cd6
https://github.com/ahejlsberg
Merge branch 'master' into deferGenericFunctionInferencehttps://github.com/microsoft/TypeScript/pull/30193/commits/db5ca33e6ccedf8443bad3bb2d3b7f0d3c73579c
db5ca33https://github.com/microsoft/TypeScript/pull/30193/commits/db5ca33e6ccedf8443bad3bb2d3b7f0d3c73579c
https://github.com/ahejlsberg
Minor fixeshttps://github.com/microsoft/TypeScript/pull/30193/commits/35ebbece49320b48df5a0cb048a08a34256718e0
35ebbechttps://github.com/microsoft/TypeScript/pull/30193/commits/35ebbece49320b48df5a0cb048a08a34256718e0
https://github.com/ahejlsberg
Defer calls to generic functions returning generic functionshttps://github.com/microsoft/TypeScript/pull/30193/commits/91f8fc60f1b0cc42c7842d71ee5fe7a0b2f37595
91f8fc6https://github.com/microsoft/TypeScript/pull/30193/commits/91f8fc60f1b0cc42c7842d71ee5fe7a0b2f37595
https://github.com/ahejlsberg
Add testshttps://github.com/microsoft/TypeScript/pull/30193/commits/304e25cf69a9570234d8c2ad83c1a1f55b086635
304e25chttps://github.com/microsoft/TypeScript/pull/30193/commits/304e25cf69a9570234d8c2ad83c1a1f55b086635
https://github.com/ahejlsberg
Accept new baselineshttps://github.com/microsoft/TypeScript/pull/30193/commits/e7881a412ed1ff64f18ecd34486e253e91bece11
e7881a4https://github.com/microsoft/TypeScript/pull/30193/commits/e7881a412ed1ff64f18ecd34486e253e91bece11
https://github.com/ahejlsberg
ahejlsberghttps://github.com/ahejlsberg
Mar 2, 2019 https://github.com/microsoft/TypeScript/pull/30193#ref-issue-410020157
Various issues when trying to use pipe function #29904 https://github.com/microsoft/TypeScript/issues/29904
https://github.com/ahejlsberg
ahejlsberghttps://github.com/ahejlsberg
DanielRosenwasserhttps://github.com/DanielRosenwasser
RyanCavanaughhttps://github.com/RyanCavanaugh
weswighamhttps://github.com/weswigham
March 2, 2019 23:09https://github.com/microsoft/TypeScript/pull/30193#event-2176007193
https://github.com/weswigham
weswighamhttps://github.com/weswigham
Mar 3, 2019 https://github.com/microsoft/TypeScript/pull/30193#pullrequestreview-209895201
View reviewed changes https://github.com/microsoft/TypeScript/pull/30193/files/e7881a412ed1ff64f18ecd34486e253e91bece11
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/30193/files/e7881a412ed1ff64f18ecd34486e253e91bece11#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
weswighamhttps://github.com/weswigham
Mar 3, 2019https://github.com/microsoft/TypeScript/pull/30193#discussion_r261852230
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30193
ahejlsberghttps://github.com/ahejlsberg
Mar 3, 2019https://github.com/microsoft/TypeScript/pull/30193#discussion_r261872050
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30193
DanielRosenwasserhttps://github.com/DanielRosenwasser
Mar 4, 2019https://github.com/microsoft/TypeScript/pull/30193#discussion_r261910596
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30193
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30193
https://github.com/ahejlsberg
ahejlsberghttps://github.com/ahejlsberg
e7881a4https://github.com/microsoft/TypeScript/commit/e7881a412ed1ff64f18ecd34486e253e91bece11
Mar 8, 2019https://github.com/microsoft/TypeScript/pull/30193#event-2190855732
https://github.com/goodmind
goodmindhttps://github.com/goodmind
Mar 22, 2019 https://github.com/microsoft/TypeScript/pull/30193#ref-issue-297625590
Flow port KiaraGrouwstra/typical#13 https://github.com/KiaraGrouwstra/typical/issues/13
https://github.com/cdimitroulas
cdimitroulashttps://github.com/cdimitroulas
May 8, 2019 https://github.com/microsoft/TypeScript/pull/30193#ref-issue-432422496
Start working on v2 gcanti/fp-ts#823 https://github.com/gcanti/fp-ts/issues/823
https://github.com/ahejlsberg
ahejlsberghttps://github.com/ahejlsberg
May 24, 2019 13:58https://github.com/microsoft/TypeScript/pull/30193#event-2365634854
https://github.com/microsoft
microsofthttps://github.com/microsoft
Oct 21, 2025https://github.com/microsoft/TypeScript/pull/30193#event-20415911593
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
ahejlsberghttps://github.com/ahejlsberg
weswighamhttps://github.com/weswigham
Oct 21, 2025https://github.com/microsoft/TypeScript/pull/30193#event-20415912270
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%2F30193
https://github.com/weswigham
weswigham https://github.com/weswigham
https://github.com/microsoft/TypeScript/pull/30193/files/e7881a412ed1ff64f18ecd34486e253e91bece11
https://github.com/RyanCavanaugh
RyanCavanaugh https://github.com/RyanCavanaugh
https://github.com/DanielRosenwasser
DanielRosenwasser https://github.com/DanielRosenwasser
https://github.com/weswigham
weswigham https://github.com/weswigham
https://github.com/ahejlsberg
ahejlsberg https://github.com/ahejlsberg
Generic inference inside of pipe is incorrect when strict mode is disabled https://github.com/microsoft/TypeScript/issues/25826
Unexpected error/bad inference for generic composed function inside pipe https://github.com/microsoft/TypeScript/issues/25791
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30193
https://github.com/ahejlsberg
https://github.com/DanielRosenwasser
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.