René's URL Explorer Experiment


Title: Inference of string literals to keyof creates an object with props of type `any`, not `{}` by sandersn · Pull Request #21271 · microsoft/TypeScript · GitHub

Open Graph Title: Inference of string literals to keyof creates an object with props of type `any`, not `{}` by sandersn · Pull Request #21271 · microsoft/TypeScript

X Title: Inference of string literals to keyof creates an object with props of type `any`, not `{}` by sandersn · Pull Request #21271 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Inference of string literals to keyof creates an object with props of type `any`, not `{}` by sandersn · Pull Request #21271 · microsoft/TypeScript

Open Graph Description: I forgot to change it to any before merging #19227. Thanks to @HerringtonDarkholme for noticing this before it went out this way in the official 2.7 release.

X Description: I forgot to change it to any before merging #19227. Thanks to @HerringtonDarkholme for noticing this before it went out this way in the official 2.7 release.

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

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:262d1f87-2264-7b7b-8330-0c36f34de79a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC00E:1E672E:17047:1F222:6A62F5A2
html-safe-noncedda2af98bdbf953d7d95904df60be2bb3d003fbecf7391567bcf894051a8fc6b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDBFOjFFNjcyRToxNzA0NzoxRjIyMjo2QTYyRjVBMiIsInZpc2l0b3JfaWQiOiI4NTIxMjM0NDY1ODc2NTM4Nzg2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac9144149d45c1beaafdbba035fd779f0f575ad1879cabefb8392f0ec85faa2d39
hovercard-subject-tagpull_request:163765667
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/21271/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/033a6b647d99bf454d4df720837cac33bc841b1c84a0cd176a7bc48cd65782d9/microsoft/TypeScript/pull/21271
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/033a6b647d99bf454d4df720837cac33bc841b1c84a0cd176a7bc48cd65782d9/microsoft/TypeScript/pull/21271
og:image:altI forgot to change it to any before merging #19227. Thanks to @HerringtonDarkholme for noticing this before it went out this way in the official 2.7 release.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesandersn
hostnamegithub.com
expected-hostnamegithub.com
Noneb415018e190e73858133ddcaa36acce7b3f3572fe54dda84bd3b21a6ec714c30
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
release22f98521e99f504294ab0812b66104d50eb75a70
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/21271#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F21271
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%2F21271
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/21271
Reloadhttps://github.com/microsoft/TypeScript/pull/21271
Reloadhttps://github.com/microsoft/TypeScript/pull/21271
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/21271
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
sandersnhttps://github.com/sandersn
masterhttps://github.com/microsoft/TypeScript/tree/master
infer-keyof-to-any-not-emptyhttps://github.com/microsoft/TypeScript/tree/infer-keyof-to-any-not-empty
Conversationhttps://github.com/microsoft/TypeScript/pull/21271
Commits1 (1)https://github.com/microsoft/TypeScript/pull/21271/commits
Checkshttps://github.com/microsoft/TypeScript/pull/21271/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/21271/files
Inference of string literals to keyof creates an object with props of type any, not {}https://github.com/microsoft/TypeScript/pull/21271#top
sandersnhttps://github.com/sandersn
masterhttps://github.com/microsoft/TypeScript/tree/master
infer-keyof-to-any-not-emptyhttps://github.com/microsoft/TypeScript/tree/infer-keyof-to-any-not-empty
https://github.com/sandersn
sandersnhttps://github.com/sandersn
Jan 18, 2018https://github.com/microsoft/TypeScript/pull/21271#issue-289700793
#19227https://github.com/microsoft/TypeScript/pull/19227
@HerringtonDarkholmehttps://github.com/HerringtonDarkholme
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/21271
https://github.com/sandersn
Infer:string literal->keyof creates any props not {}https://github.com/microsoft/TypeScript/pull/21271/commits/f0b40180175070ca1097d63cd09b04c6210d3a69
f0b4018https://github.com/microsoft/TypeScript/pull/21271/commits/f0b40180175070ca1097d63cd09b04c6210d3a69
https://github.com/sandersn
sandersnhttps://github.com/sandersn
mhegazyhttps://github.com/mhegazy
January 18, 2018 16:53https://github.com/microsoft/TypeScript/pull/21271#event-1430821424
https://github.com/sandersn
sandersnhttps://github.com/sandersn
Jan 18, 2018 https://github.com/microsoft/TypeScript/pull/21271#ref-pullrequest-265908501
Infer object type from string literal to keyof T #19227 https://github.com/microsoft/TypeScript/pull/19227
https://github.com/mhegazy
mhegazyhttps://github.com/mhegazy
Jan 19, 2018 https://github.com/microsoft/TypeScript/pull/21271#pullrequestreview-90248286
View reviewed changes https://github.com/microsoft/TypeScript/pull/21271/files/f0b40180175070ca1097d63cd09b04c6210d3a69
https://github.com/sandersn
sandersnhttps://github.com/sandersn
eed8573https://github.com/microsoft/TypeScript/commit/eed85737b8371a050664c34f0ea1cfbb022d296b
Jan 19, 2018https://github.com/microsoft/TypeScript/pull/21271#event-1433286255
https://github.com/sandersn
sandersnhttps://github.com/sandersn
January 19, 2018 21:35https://github.com/microsoft/TypeScript/pull/21271#event-1433286388
https://github.com/ahejlsberg
ahejlsberghttps://github.com/ahejlsberg
Mar 7, 2018 https://github.com/microsoft/TypeScript/pull/21271#ref-issue-303121079
Regression in Type Inference engine in TypeScript 2.7.1 #22376 https://github.com/microsoft/TypeScript/issues/22376
https://github.com/HerringtonDarkholme
HerringtonDarkholmehttps://github.com/HerringtonDarkholme
Mar 12, 2018 https://github.com/microsoft/TypeScript/pull/21271#ref-pullrequest-304227383
feat(typing): use keyof inference to simplify definition vuejs/vue#7797 https://github.com/vuejs/vue/pull/7797
https://github.com/microsoft
microsofthttps://github.com/microsoft
Jul 3, 2018https://github.com/microsoft/TypeScript/pull/21271#event-1712806210
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%2F21271
https://github.com/mhegazy
mhegazy https://github.com/mhegazy
https://github.com/microsoft/TypeScript/pull/21271/files/f0b40180175070ca1097d63cd09b04c6210d3a69
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/21271
https://github.com/sandersn
https://github.com/mhegazy
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.