René's URL Explorer Experiment


Title: Higher order function type inference by ahejlsberg · Pull Request #30215 · microsoft/TypeScript · GitHub

Open Graph Title: Higher order function type inference by ahejlsberg · Pull Request #30215 · microsoft/TypeScript

X Title: Higher order function type inference by ahejlsberg · Pull Request #30215 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Higher order function type inference by ahejlsberg · Pull Request #30215 · microsoft/TypeScript

Open Graph Description: With this PR we enable inference of generic function type results for generic functions that operate on other generic functions. For example: declare function pipe<A extends any[], B, C>(ab: ...

X Description: With this PR we enable inference of generic function type results for generic functions that operate on other generic functions. For example: declare function pipe&lt;A extends any[], B, C&...

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

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:92debdac-be81-8187-2760-a2165db3c6e0
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE2E2:3F51FD:639E18:896EE0:6A61840F
html-safe-nonceb42343e53525cd4edafa4ed50606a157b8fa2a6ae48531c31d8ca76904ed1d56
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMkUyOjNGNTFGRDo2MzlFMTg6ODk2RUUwOjZBNjE4NDBGIiwidmlzaXRvcl9pZCI6IjQ5Njg1NjE3MTYxOTQ1NDI2MDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac4dd89790bced58f783ee6ede6b4e70dc9bc4f5f5958ccce1d8280fd2f7577f5a
hovercard-subject-tagpull_request:258109340
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/30215/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/db8dc50fab25000de7f9436a6b19125f88b1e60828be70419f150acc079dd026/microsoft/TypeScript/pull/30215
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/db8dc50fab25000de7f9436a6b19125f88b1e60828be70419f150acc079dd026/microsoft/TypeScript/pull/30215
og:image:altWith this PR we enable inference of generic function type results for generic functions that operate on other generic functions. For example: declare function pipe<A extends any[], B, C>(ab: ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameahejlsberg
hostnamegithub.com
expected-hostnamegithub.com
Nonec28c2f6607f2aacbd934868d997038895c9780d08babfe918550d73773326f4c
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
releasecd05235d52ffb3318513d883a56c87a121015c8b
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/30215#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F30215
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%2F30215
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/30215
Reloadhttps://github.com/microsoft/TypeScript/pull/30215
Reloadhttps://github.com/microsoft/TypeScript/pull/30215
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30215
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
higherOrderFunctionTypeInferencehttps://github.com/microsoft/TypeScript/tree/higherOrderFunctionTypeInference
Conversationhttps://github.com/microsoft/TypeScript/pull/30215
Commits20 (20)https://github.com/microsoft/TypeScript/pull/30215/commits
Checkshttps://github.com/microsoft/TypeScript/pull/30215/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/30215/files
Higher order function type inferencehttps://github.com/microsoft/TypeScript/pull/30215#top
ahejlsberghttps://github.com/ahejlsberg
masterhttps://github.com/microsoft/TypeScript/tree/master
higherOrderFunctionTypeInferencehttps://github.com/microsoft/TypeScript/tree/higherOrderFunctionTypeInference
https://github.com/ahejlsberg
ahejlsberghttps://github.com/ahejlsberg
Mar 4, 2019https://github.com/microsoft/TypeScript/pull/30215#issue-417017849
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30215
#417https://github.com/microsoft/TypeScript/issues/417
#3038https://github.com/microsoft/TypeScript/issues/3038
#9366https://github.com/microsoft/TypeScript/issues/9366
#9949https://github.com/microsoft/TypeScript/issues/9949
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30215
ahejlsberghttps://github.com/ahejlsberg
February 28, 2019 06:15https://github.com/microsoft/TypeScript/pull/30215#commits-pushed-b44bfaa
https://github.com/ahejlsberg
Convert CheckMode to a flags style enumhttps://github.com/microsoft/TypeScript/pull/30215/commits/b44bfaaaa8edf88e83779e1f0399a8518dfff389
b44bfaahttps://github.com/microsoft/TypeScript/pull/30215/commits/b44bfaaaa8edf88e83779e1f0399a8518dfff389
https://github.com/ahejlsberg
Skip generic functions along with context sensitive argumentshttps://github.com/microsoft/TypeScript/pull/30215/commits/23473e021b0006f37d0d2e8f9c5c9de182641cd6
23473e0https://github.com/microsoft/TypeScript/pull/30215/commits/23473e021b0006f37d0d2e8f9c5c9de182641cd6
https://github.com/ahejlsberg
Merge branch 'master' into deferGenericFunctionInferencehttps://github.com/microsoft/TypeScript/pull/30215/commits/db5ca33e6ccedf8443bad3bb2d3b7f0d3c73579c
db5ca33https://github.com/microsoft/TypeScript/pull/30215/commits/db5ca33e6ccedf8443bad3bb2d3b7f0d3c73579c
https://github.com/ahejlsberg
Minor fixeshttps://github.com/microsoft/TypeScript/pull/30215/commits/35ebbece49320b48df5a0cb048a08a34256718e0
35ebbechttps://github.com/microsoft/TypeScript/pull/30215/commits/35ebbece49320b48df5a0cb048a08a34256718e0
https://github.com/ahejlsberg
Defer calls to generic functions returning generic functionshttps://github.com/microsoft/TypeScript/pull/30215/commits/91f8fc60f1b0cc42c7842d71ee5fe7a0b2f37595
91f8fc6https://github.com/microsoft/TypeScript/pull/30215/commits/91f8fc60f1b0cc42c7842d71ee5fe7a0b2f37595
https://github.com/ahejlsberg
Add testshttps://github.com/microsoft/TypeScript/pull/30215/commits/304e25cf69a9570234d8c2ad83c1a1f55b086635
304e25chttps://github.com/microsoft/TypeScript/pull/30215/commits/304e25cf69a9570234d8c2ad83c1a1f55b086635
https://github.com/ahejlsberg
Accept new baselineshttps://github.com/microsoft/TypeScript/pull/30215/commits/e7881a412ed1ff64f18ecd34486e253e91bece11
e7881a4https://github.com/microsoft/TypeScript/pull/30215/commits/e7881a412ed1ff64f18ecd34486e253e91bece11
https://github.com/ahejlsberg
Infer higher order function types when possiblehttps://github.com/microsoft/TypeScript/pull/30215/commits/c344ef3123023d71812290e96109686a3addbdb0
c344ef3https://github.com/microsoft/TypeScript/pull/30215/commits/c344ef3123023d71812290e96109686a3addbdb0
https://github.com/ahejlsberg
Accept new baselineshttps://github.com/microsoft/TypeScript/pull/30215/commits/c58819e9c2248294da8cbdc76ce14ae8d0388536
c58819ehttps://github.com/microsoft/TypeScript/pull/30215/commits/c58819e9c2248294da8cbdc76ce14ae8d0388536
https://github.com/ahejlsberg
Improve scheme for creating unique type parameter nameshttps://github.com/microsoft/TypeScript/pull/30215/commits/919ade1dbd3f7e6acfc71b02defb622c0bcb8d43
919ade1https://github.com/microsoft/TypeScript/pull/30215/commits/919ade1dbd3f7e6acfc71b02defb622c0bcb8d43
https://github.com/ahejlsberg
Minor fixhttps://github.com/microsoft/TypeScript/pull/30215/commits/549c68451708a9c48b2127ba6bc6618354366fdd
549c684https://github.com/microsoft/TypeScript/pull/30215/commits/549c68451708a9c48b2127ba6bc6618354366fdd
https://github.com/ahejlsberg
Add testshttps://github.com/microsoft/TypeScript/pull/30215/commits/22c934a065d56f0578a58b6258fcc8775ffd4cf0
22c934ahttps://github.com/microsoft/TypeScript/pull/30215/commits/22c934a065d56f0578a58b6258fcc8775ffd4cf0
https://github.com/ahejlsberg
Accept new baselineshttps://github.com/microsoft/TypeScript/pull/30215/commits/5fe8ebb502f90742a0c53b20d7bc38439ea59d70
5fe8ebbhttps://github.com/microsoft/TypeScript/pull/30215/commits/5fe8ebb502f90742a0c53b20d7bc38439ea59d70
https://github.com/ahejlsberg
Fix lint errorhttps://github.com/microsoft/TypeScript/pull/30215/commits/bf326aaabf48e7b72ae68b4a10d33ee23cee97e8
bf326aahttps://github.com/microsoft/TypeScript/pull/30215/commits/bf326aaabf48e7b72ae68b4a10d33ee23cee97e8
https://github.com/ahejlsberg
ahejlsberghttps://github.com/ahejlsberg
Mar 4, 2019 https://github.com/microsoft/TypeScript/pull/30215#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
sandersnhttps://github.com/sandersn
weswighamhttps://github.com/weswigham
March 4, 2019 22:32https://github.com/microsoft/TypeScript/pull/30215#event-2179320072
https://github.com/ahejlsberg
ahejlsberghttps://github.com/ahejlsberg
Mar 4, 2019 https://github.com/microsoft/TypeScript/pull/30215#ref-issue-162351308
Supporting generic type inference over the other higher-order functions #9366 https://github.com/microsoft/TypeScript/issues/9366
https://github.com/jack-williams
jack-williamshttps://github.com/jack-williams
Mar 4, 2019https://github.com/microsoft/TypeScript/pull/30215#issuecomment-469462444
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30215
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30215
https://github.com/ahejlsberg
ahejlsberghttps://github.com/ahejlsberg
Mar 4, 2019https://github.com/microsoft/TypeScript/pull/30215#issuecomment-469473004
@jack-williamshttps://github.com/jack-williams
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30215
https://github.com/jack-williams
jack-williamshttps://github.com/jack-williams
Mar 5, 2019https://github.com/microsoft/TypeScript/pull/30215#issuecomment-469480164
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30215
@ahejlsberghttps://github.com/ahejlsberg
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30215
https://github.com/RyanCavanaugh
RyanCavanaughhttps://github.com/RyanCavanaugh
Mar 5, 2019https://github.com/microsoft/TypeScript/pull/30215#issuecomment-469489507
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30215
https://github.com/jack-williams
jack-williamshttps://github.com/jack-williams
Mar 5, 2019https://github.com/microsoft/TypeScript/pull/30215#issuecomment-469500220
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30215
https://github.com/KiaraGrouwstra
KiaraGrouwstrahttps://github.com/KiaraGrouwstra
Mar 5, 2019https://github.com/microsoft/TypeScript/pull/30215#issuecomment-469580243
@ikatyanghttps://github.com/ikatyang
@Aleksey-Bykovhttps://github.com/Aleksey-Bykov
@whitecolorhttps://github.com/whitecolor
@HerringtonDarkholmehttps://github.com/HerringtonDarkholme
@aluanhaddadhttps://github.com/aluanhaddad
@ccorcoshttps://github.com/ccorcos
@gcnewhttps://github.com/gcnew
@goodmindhttps://github.com/goodmind
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30215
https://github.com/zpdDG4gta8XKpMCd
zpdDG4gta8XKpMCdhttps://github.com/zpdDG4gta8XKpMCd
Mar 5, 2019https://github.com/microsoft/TypeScript/pull/30215#issuecomment-469586298
@ahejlsberghttps://github.com/ahejlsberg
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30215
ahejlsberghttps://github.com/ahejlsberg
March 5, 2019 06:09https://github.com/microsoft/TypeScript/pull/30215#commits-pushed-ad823da
https://github.com/ahejlsberg
Consistently defer generic functions to second type inference passhttps://github.com/microsoft/TypeScript/pull/30215/commits/ad823daabba75c8d6d77ab5f9194ce5feaa1fa96
ad823dahttps://github.com/microsoft/TypeScript/pull/30215/commits/ad823daabba75c8d6d77ab5f9194ce5feaa1fa96
https://github.com/ahejlsberg
Accept new baselineshttps://github.com/microsoft/TypeScript/pull/30215/commits/cde94441d31543f414bbeb70a6700d30ee7fbc39
cde9444https://github.com/microsoft/TypeScript/pull/30215/commits/cde94441d31543f414bbeb70a6700d30ee7fbc39
https://github.com/tp
tphttps://github.com/tp
Mar 5, 2019 https://github.com/microsoft/TypeScript/pull/30215#ref-issue-404434172
Wrong type inferred for indirect call of generic function #29638 https://github.com/microsoft/TypeScript/issues/29638
https://github.com/weswigham
weswighamhttps://github.com/weswigham
Aug 2, 2019https://github.com/microsoft/TypeScript/pull/30215#issuecomment-517855786
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30215
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30215
https://github.com/kalbert312
kalbert312https://github.com/kalbert312
Aug 5, 2019https://github.com/microsoft/TypeScript/pull/30215#issuecomment-518319300
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30215
https://github.com/weswigham
weswighamhttps://github.com/weswigham
Aug 5, 2019https://github.com/microsoft/TypeScript/pull/30215#issuecomment-518341106
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30215
https://github.com/jcalz
jcalzhttps://github.com/jcalz
Sep 2, 2019 https://github.com/microsoft/TypeScript/pull/30215#ref-issue-487943245
Ability to get generic type from typeof and infer #33185 https://github.com/microsoft/TypeScript/issues/33185
https://github.com/ahejlsberg
ahejlsberghttps://github.com/ahejlsberg
Oct 3, 2019 https://github.com/microsoft/TypeScript/pull/30215#ref-issue-498321334
Higher order type inference doesn't work with overloads #33594 https://github.com/microsoft/TypeScript/issues/33594
https://github.com/fatcerberus
fatcerberushttps://github.com/fatcerberus
Nov 25, 2019 https://github.com/microsoft/TypeScript/pull/30215#ref-issue-528396890
Type error when using generic function result as argument, but not when assigned to temp variable first #35339 https://github.com/microsoft/TypeScript/issues/35339
https://github.com/bergerbo
bergerbohttps://github.com/bergerbo
Nov 28, 2019https://github.com/microsoft/TypeScript/pull/30215#issuecomment-559598956
@ahejlsberghttps://github.com/ahejlsberg
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30215
https://github.com/bergerbo
bergerbohttps://github.com/bergerbo
Nov 28, 2019https://github.com/microsoft/TypeScript/pull/30215#issuecomment-559614788
#31738https://github.com/microsoft/TypeScript/issues/31738
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30215
https://github.com/maraisr
maraisrhttps://github.com/maraisr
Jan 8, 2020https://github.com/microsoft/TypeScript/pull/30215#issuecomment-571833780
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30215
@weswighamhttps://github.com/weswigham
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30215
https://github.com/johnrom
johnromhttps://github.com/johnrom
Jan 20, 2020https://github.com/microsoft/TypeScript/pull/30215#issuecomment-576429380
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30215
@maraisrhttps://github.com/maraisr
#19139https://github.com/microsoft/TypeScript/issues/19139
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30215
https://github.com/johnrom
johnromhttps://github.com/johnrom
Jan 21, 2020 https://github.com/microsoft/TypeScript/pull/30215#ref-issue-549734602
Use React.forwardRef in jaredpalmer/formik#2208 https://github.com/jaredpalmer/formik/issues/2208
https://github.com/johnrom
johnromhttps://github.com/johnrom
Jan 29, 2020 https://github.com/microsoft/TypeScript/pull/30215#ref-pullrequest-551559037
Try using forwardRef jaredpalmer/formik#2222 https://github.com/jaredpalmer/formik/pull/2222
https://github.com/sandersn
sandersnhttps://github.com/sandersn
Feb 3, 2020 https://github.com/microsoft/TypeScript/pull/30215#ref-pullrequest-328773094
Attempt at implementing propagated inference for free type parameters (#9366) #24626 https://github.com/microsoft/TypeScript/pull/24626
https://github.com/2A5F
2A5Fhttps://github.com/2A5F
Feb 17, 2020 https://github.com/microsoft/TypeScript/pull/30215#ref-issue-541294350
First class type constructor #35816 https://github.com/microsoft/TypeScript/issues/35816
Mar 2, 2020 https://github.com/microsoft/TypeScript/pull/30215#ref-issue-247557583
Generic values #17574 https://github.com/microsoft/TypeScript/issues/17574
https://github.com/tony
tonyhttps://github.com/tony
May 4, 2020https://github.com/microsoft/TypeScript/pull/30215#issuecomment-623585076
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30215
https://github.com/DanielRosenwasser
DanielRosenwasserhttps://github.com/DanielRosenwasser
May 4, 2020https://github.com/microsoft/TypeScript/pull/30215#issuecomment-623624681
https://github.com/Microsoft/TypeScript/wiki/Roadmap#34-march-2019https://github.com/Microsoft/TypeScript/wiki/Roadmap#34-march-2019
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30215
https://github.com/tony
tonyhttps://github.com/tony
May 4, 2020https://github.com/microsoft/TypeScript/pull/30215#issuecomment-623744851
@DanielRosenwasserhttps://github.com/DanielRosenwasser
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30215
https://github.com/sisp
sisphttps://github.com/sisp
May 2, 2021 https://github.com/microsoft/TypeScript/pull/30215#ref-issue-870245390
Generic models xaviergonz/mobx-keystone#239 https://github.com/xaviergonz/mobx-keystone/issues/239
https://github.com/mayteio
mayteiohttps://github.com/mayteio
Aug 6, 2021 https://github.com/microsoft/TypeScript/pull/30215#ref-issue-962326730
Support component prop generics with forwardRef chakra-ui/chakra-ui#4528 https://github.com/chakra-ui/chakra-ui/issues/4528
https://github.com/jcalz
jcalzhttps://github.com/jcalz
Jun 13, 2022 https://github.com/microsoft/TypeScript/pull/30215#ref-issue-1268664916
Inferring a generic should put the type variable in the inner scope when possible #49505 https://github.com/microsoft/TypeScript/issues/49505
https://github.com/mwstr
mwstrhttps://github.com/mwstr
Nov 16, 2022https://github.com/microsoft/TypeScript/pull/30215#issuecomment-1316828593
Playground linkhttps://www.typescriptlang.org/play?ts=4.8.4&ssl=50&ssc=42&pln=41&pc=1#code/JYOwLgpgTgZghgYwgAgApQPYDdgBNoAScIuANtADwCCyEAHpCQM7LECeA2gLrIC8rITlwA0yAEp8BbAHzIA3gChkyABRgAFsCYAucRACOAVwhMwAYQzh6YUQDp7cKAHMdyKgEpdYhQF8FCsDYABxQAMVI4MHQMAFstCAoAFVl+aLimBMTaBghmNEx0hNAYaGQAUVkAfnLkXWT-UEhYRBQAdSg4ILM4UlJ5JWQk7MZcFmicfCgiEnIoaRUgzAnoXXG8SmTPZCzrXNH87HWp4jJKAeVi0qphc+RLqHEB6VvqlXtbRxddDz5ZcMi0vEKGJnsplLoQBAsNBfA0rM0kHojCZzJZIAx+soAPQAKmQ72QOKxAwQPVIunanW6vVhCgQESYYyWRyGuzya0m01OD1SzM5J1mskUynUApW238ygQllMUEMCDAGCgKgwQTAwBlujkyFFM3FWR87kxYI0Wlsuu5klV6pl5rFUAGfj8dJlYGQ0qsGP42txdxicCcoBQwDdwBiQXIMVykFwhKxyB8rBYYgMxlMFk9YH8HtMyCCAEZJJCAO4HZbK4VguBMNggBA6+0qI2VsFgqAQMCGKAgZAAVluTvc-ix8aghf4IEMMQARjCR8hi0qANYsGBBl0gXNjyRwYtwEPutHWWyk3oLfPuJvZ115gBMRYgpY50BULaTtfrFtmSXmYDqzduVt207btkCzVtB2HeNEE7HpdCge9+EMEAlxADBixABR53oEIFQgXB4MQ5BZVAJwsPjXAMBMEAAHI3UXKAlw3LciN3fc3Q9dEwBPMkFlvS86OsGihwUHClTdORE19f0lxMZA13IVhkBiDBcEMRSYCVMDVWQchoT6AADNiQwMuMgA
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30215
https://github.com/wbt
wbthttps://github.com/wbt
Dec 12, 2022 https://github.com/microsoft/TypeScript/pull/30215#ref-issue-1492623371
MyGeneric is sometimes not assignable to MyGeneric though X extends Y #51867 https://github.com/microsoft/TypeScript/issues/51867
https://github.com/MichaelMitchell-at
MichaelMitchell-athttps://github.com/MichaelMitchell-at
Apr 30, 2023 https://github.com/microsoft/TypeScript/pull/30215#ref-issue-683503798
Add type operators that can answer "given function type T, what is the type of its return value when arguments P are passed in?" #40179 https://github.com/microsoft/TypeScript/issues/40179
https://github.com/jcalz
jcalzhttps://github.com/jcalz
Jun 21, 2023 https://github.com/microsoft/TypeScript/pull/30215#ref-issue-1763952847
Generics are lost during Function.prototype.bind() and Function.prototype.call() #54707 https://github.com/microsoft/TypeScript/issues/54707
https://github.com/yangwooseong
yangwooseonghttps://github.com/yangwooseong
Jul 14, 2023 https://github.com/microsoft/TypeScript/pull/30215#ref-pullrequest-1804155705
Fix wrong typing of TabAction prop channel-io/bezier-react#1497 https://github.com/channel-io/bezier-react/pull/1497
https://github.com/webvv
webvvhttps://github.com/webvv
Feb 4, 2024 https://github.com/microsoft/TypeScript/pull/30215#ref-issue-2117264073
TypeScript cannot infer type arguments correctly when swapping function parameters. #57287 https://github.com/microsoft/TypeScript/issues/57287
https://github.com/jcalz
jcalzhttps://github.com/jcalz
Aug 9, 2024 https://github.com/microsoft/TypeScript/pull/30215#ref-issue-2457680289
Broken type inference for union of function and object #59573 https://github.com/microsoft/TypeScript/issues/59573
https://github.com/microsoft
microsofthttps://github.com/microsoft
Oct 21, 2025https://github.com/microsoft/TypeScript/pull/30215#event-20415912245
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
ahejlsberghttps://github.com/ahejlsberg
Oct 21, 2025https://github.com/microsoft/TypeScript/pull/30215#event-20415913883
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%2F30215
https://github.com/weswigham
weswigham https://github.com/weswigham
https://github.com/microsoft/TypeScript/pull/30215/files/b34fe67ac53a59172111a81b60692cf6e27c51e8
https://github.com/RyanCavanaugh
RyanCavanaugh https://github.com/RyanCavanaugh
https://github.com/microsoft/TypeScript/pull/30215/files/a9e924b6f0edb02c719a77f6d11fbae4704574e7
https://github.com/sandersn
sandersn https://github.com/sandersn
https://github.com/DanielRosenwasser
DanielRosenwasser https://github.com/DanielRosenwasser
https://github.com/ahejlsberg
ahejlsberg https://github.com/ahejlsberg
question: how can i create and return a generic function in TypeScript? https://github.com/microsoft/TypeScript/issues/9949
Supporting generic type inference over the other higher-order functions https://github.com/microsoft/TypeScript/issues/9366
Inference bug https://github.com/microsoft/TypeScript/issues/3038
Higher order functions lose type parameters https://github.com/microsoft/TypeScript/issues/417
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/30215
https://github.com/ahejlsberg
https://github.com/jack-williams
https://github.com/RyanCavanaugh
https://github.com/KiaraGrouwstra
https://github.com/zpdDG4gta8XKpMCd
https://github.com/typescript-bot
https://github.com/mweststrate
https://github.com/j-oliveras
https://github.com/maciejw
https://github.com/AnyhowStep
https://github.com/mivanovaxway
https://github.com/thupi
https://github.com/weswigham
https://github.com/kalbert312
https://github.com/bergerbo
https://github.com/maraisr
https://github.com/johnrom
https://github.com/tony
https://github.com/DanielRosenwasser
https://github.com/mwstr
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.