René's URL Explorer Experiment


Title: Infer to partially homomorphic types (such as Pick) by ahejlsberg · Pull Request #29787 · microsoft/TypeScript · GitHub

Open Graph Title: Infer to partially homomorphic types (such as Pick) by ahejlsberg · Pull Request #29787 · microsoft/TypeScript

X Title: Infer to partially homomorphic types (such as Pick) by ahejlsberg · Pull Request #29787 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Infer to partially homomorphic types (such as Pick) by ahejlsberg · Pull Request #29787 · microsoft/TypeScript

Open Graph Description: With this PR we improve type inference for partially homomorphic types such as Pick<T, K>. Now, when inferring to a mapped type { [P in K]: X }, where K is a type parameter K extends keyof T,...

X Description: With this PR we improve type inference for partially homomorphic types such as Pick&lt;T, K&gt;. Now, when inferring to a mapped type { [P in K]: X }, where K is a type parameter K extends ...

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

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:28e277a9-bd4b-1ca8-ddf3-bbeee0db63e8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE67C:3F7D9B:22A4A8:2E7527:6A628FE9
html-safe-nonce883f3fa64a8380bc1b53896a22f5d935c4f671d8b61f7fd682eae4666ec41eaf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjdDOjNGN0Q5QjoyMkE0QTg6MkU3NTI3OjZBNjI4RkU5IiwidmlzaXRvcl9pZCI6IjY2OTQ1NTQzNzIwMjk5NzY1NTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc1741a4817a90669ba90cce449afc31ca17fc78fcfad00a6f7d8dd4829c424cc
hovercard-subject-tagpull_request:250948426
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/29787/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/8f818f34c849140648737195cbfa3d271aca24ae946c35775fc0fb5f8b39b569/microsoft/TypeScript/pull/29787
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8f818f34c849140648737195cbfa3d271aca24ae946c35775fc0fb5f8b39b569/microsoft/TypeScript/pull/29787
og:image:altWith this PR we improve type inference for partially homomorphic types such as Pick<T, K>. Now, when inferring to a mapped type { [P in K]: X }, where K is a type parameter K extends keyof T,...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameahejlsberg
hostnamegithub.com
expected-hostnamegithub.com
Noneac2209d8cb6970a1bd08cb0a3f821d7166ac544c2ca1c87819c335bb84310ecd
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
release2fca8cd598678aaa64706088ad13b4e19177e108
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/29787#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F29787
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%2F29787
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/29787
Reloadhttps://github.com/microsoft/TypeScript/pull/29787
Reloadhttps://github.com/microsoft/TypeScript/pull/29787
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29787
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
inferToPartiallyHomomorphichttps://github.com/microsoft/TypeScript/tree/inferToPartiallyHomomorphic
Conversationhttps://github.com/microsoft/TypeScript/pull/29787
Commits7 (7)https://github.com/microsoft/TypeScript/pull/29787/commits
Checkshttps://github.com/microsoft/TypeScript/pull/29787/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/29787/files
Infer to partially homomorphic types (such as Pick)https://github.com/microsoft/TypeScript/pull/29787#top
ahejlsberghttps://github.com/ahejlsberg
masterhttps://github.com/microsoft/TypeScript/tree/master
inferToPartiallyHomomorphichttps://github.com/microsoft/TypeScript/tree/inferToPartiallyHomomorphic
https://github.com/ahejlsberg
ahejlsberghttps://github.com/ahejlsberg
Feb 6, 2019https://github.com/microsoft/TypeScript/pull/29787#issue-407483103
#29765https://github.com/microsoft/TypeScript/issues/29765
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29787
ahejlsberghttps://github.com/ahejlsberg
February 6, 2019 14:23https://github.com/microsoft/TypeScript/pull/29787#commits-pushed-52a9cfb
https://github.com/ahejlsberg
Infer to partially homomorphic mapped types (such as Pick)https://github.com/microsoft/TypeScript/pull/29787/commits/52a9cfb0a9de3f0c0f36a77bb976330a0a57f6df
52a9cfbhttps://github.com/microsoft/TypeScript/pull/29787/commits/52a9cfb0a9de3f0c0f36a77bb976330a0a57f6df
https://github.com/ahejlsberg
Add testshttps://github.com/microsoft/TypeScript/pull/29787/commits/62c62f4f87bfcf96e3f0e0500b453187b39f3c89
62c62f4https://github.com/microsoft/TypeScript/pull/29787/commits/62c62f4f87bfcf96e3f0e0500b453187b39f3c89
https://github.com/ahejlsberg
Accept new baselineshttps://github.com/microsoft/TypeScript/pull/29787/commits/262e3c1ae294cef6e1075fa53a4d60481c700494
262e3c1https://github.com/microsoft/TypeScript/pull/29787/commits/262e3c1ae294cef6e1075fa53a4d60481c700494
https://github.com/ahejlsberg
ahejlsberghttps://github.com/ahejlsberg
RyanCavanaughhttps://github.com/RyanCavanaugh
weswighamhttps://github.com/weswigham
February 6, 2019 23:47https://github.com/microsoft/TypeScript/pull/29787#event-2122759837
https://github.com/weswigham
weswighamhttps://github.com/weswigham
Feb 7, 2019 https://github.com/microsoft/TypeScript/pull/29787#pullrequestreview-200887522
View reviewed changes https://github.com/microsoft/TypeScript/pull/29787/files/262e3c1ae294cef6e1075fa53a4d60481c700494
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/29787/files/262e3c1ae294cef6e1075fa53a4d60481c700494#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
weswighamhttps://github.com/weswigham
Feb 7, 2019https://github.com/microsoft/TypeScript/pull/29787#discussion_r254518280
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29787
weswighamhttps://github.com/weswigham
Feb 7, 2019https://github.com/microsoft/TypeScript/pull/29787#discussion_r254518760
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29787
ahejlsberghttps://github.com/ahejlsberg
Feb 7, 2019https://github.com/microsoft/TypeScript/pull/29787#discussion_r254859825
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29787
weswighamhttps://github.com/weswigham
Feb 7, 2019https://github.com/microsoft/TypeScript/pull/29787#discussion_r254904430
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29787
weswighamhttps://github.com/weswigham
Feb 7, 2019https://github.com/microsoft/TypeScript/pull/29787#discussion_r254905290
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29787
weswighamhttps://github.com/weswigham
Feb 7, 2019https://github.com/microsoft/TypeScript/pull/29787#discussion_r254906679
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29787
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29787
ahejlsberghttps://github.com/ahejlsberg
Feb 8, 2019https://github.com/microsoft/TypeScript/pull/29787#discussion_r255102248
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29787
ahejlsberghttps://github.com/ahejlsberg
February 8, 2019 06:49https://github.com/microsoft/TypeScript/pull/29787#commits-pushed-f46c0a4
https://github.com/ahejlsberg
Process more complex constraints as per CR feedbackhttps://github.com/microsoft/TypeScript/pull/29787/commits/f46c0a45979669daf2067c3990bf604a7d35dcaf
f46c0a4https://github.com/microsoft/TypeScript/pull/29787/commits/f46c0a45979669daf2067c3990bf604a7d35dcaf
https://github.com/ahejlsberg
Add more testshttps://github.com/microsoft/TypeScript/pull/29787/commits/e49320d1db82ae4e281914ab3b6c4d101da4e16d
e49320dhttps://github.com/microsoft/TypeScript/pull/29787/commits/e49320d1db82ae4e281914ab3b6c4d101da4e16d
https://github.com/ahejlsberg
Accept new baselineshttps://github.com/microsoft/TypeScript/pull/29787/commits/8652158ead4af506a604d70ad80becba7ddccea9
8652158https://github.com/microsoft/TypeScript/pull/29787/commits/8652158ead4af506a604d70ad80becba7ddccea9
https://github.com/ahejlsberg
Delete wayward commenthttps://github.com/microsoft/TypeScript/pull/29787/commits/040401205ba51d036b9ec234ff2f2341ceac96b9
0404012https://github.com/microsoft/TypeScript/pull/29787/commits/040401205ba51d036b9ec234ff2f2341ceac96b9
https://github.com/mike-north
mike-northhttps://github.com/mike-north
Feb 11, 2019 https://github.com/microsoft/TypeScript/pull/29787#ref-pullrequest-403589646
[@types/ember] Add url property to deprecation options DefinitelyTyped/DefinitelyTyped#32538 https://github.com/DefinitelyTyped/DefinitelyTyped/pull/32538
https://github.com/weswigham
weswighamhttps://github.com/weswigham
Feb 11, 2019 https://github.com/microsoft/TypeScript/pull/29787#pullrequestreview-202290376
View reviewed changes https://github.com/microsoft/TypeScript/pull/29787/files/040401205ba51d036b9ec234ff2f2341ceac96b9
https://github.com/ahejlsberg
ahejlsberghttps://github.com/ahejlsberg
d66000bhttps://github.com/microsoft/TypeScript/commit/d66000bc47d3ba57438d74ab6d233283337d12e4
Feb 11, 2019https://github.com/microsoft/TypeScript/pull/29787#event-2131569519
https://github.com/ahejlsberg
ahejlsberghttps://github.com/ahejlsberg
February 11, 2019 19:33https://github.com/microsoft/TypeScript/pull/29787#event-2131569689
https://github.com/mike-north
mike-northhttps://github.com/mike-north
Feb 12, 2019 https://github.com/microsoft/TypeScript/pull/29787#ref-issue-408975693
[@type/ember bug] handlebars declare conflict typed-ember/ember-cli-typescript#566 https://github.com/typed-ember/ember-cli-typescript/issues/566
https://github.com/weswigham
weswighamhttps://github.com/weswigham
Feb 13, 2019 https://github.com/microsoft/TypeScript/pull/29787#ref-pullrequest-409560914
Use built local on CI and not LKG #29886 https://github.com/microsoft/TypeScript/pull/29886
https://github.com/mike-north
mike-northhttps://github.com/mike-north
Feb 14, 2019 https://github.com/microsoft/TypeScript/pull/29787#ref-issue-409880975
Feb 2019 Definitely Typed failures on typescript@next #29898 https://github.com/microsoft/TypeScript/issues/29898
https://github.com/sandersn
sandersnhttps://github.com/sandersn
Feb 15, 2019 https://github.com/microsoft/TypeScript/pull/29787#ref-pullrequest-410792475
🤖 User test baselines have changed #29933 https://github.com/microsoft/TypeScript/pull/29933
https://github.com/microsoft
microsofthttps://github.com/microsoft
Oct 21, 2025https://github.com/microsoft/TypeScript/pull/29787#event-20415896514
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
ahejlsberghttps://github.com/ahejlsberg
Oct 21, 2025https://github.com/microsoft/TypeScript/pull/29787#event-20415896997
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%2F29787
https://github.com/weswigham
weswigham https://github.com/weswigham
https://github.com/microsoft/TypeScript/pull/29787/files/040401205ba51d036b9ec234ff2f2341ceac96b9
https://github.com/RyanCavanaugh
RyanCavanaugh https://github.com/RyanCavanaugh
https://github.com/ahejlsberg
ahejlsberg https://github.com/ahejlsberg
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/29787
https://github.com/ahejlsberg
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.