René's URL Explorer Experiment


Title: Implicit index signatures for enum object types by ahejlsberg · Pull Request #31687 · microsoft/TypeScript · GitHub

Open Graph Title: Implicit index signatures for enum object types by ahejlsberg · Pull Request #31687 · microsoft/TypeScript

X Title: Implicit index signatures for enum object types by ahejlsberg · Pull Request #31687 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Implicit index signatures for enum object types by ahejlsberg · Pull Request #31687 · microsoft/TypeScript

Open Graph Description: Types representing object literals or modules have inferable index signatures because their exact set of properties is known. This PR implements the same behavior for types representing enum object...

X Description: Types representing object literals or modules have inferable index signatures because their exact set of properties is known. This PR implements the same behavior for types representing enum object...

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

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:125cd1bd-54cf-6e04-5854-24a3f10aef27
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE0E4:1CEA6F:93C032:C54342:6B00E2A6
html-safe-nonce91ad35b6afa0e0a637295792f3d49be26dc7fe630f735fb48be7ed4f98bc50ea
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMEU0OjFDRUE2Rjo5M0MwMzI6QzU0MzQyOjZCMDBFMkE2IiwidmlzaXRvcl9pZCI6IjQ0OTU3MTU1NjM4NTg4NzkxNDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc7e624ff57a36b81037703f1d51c877096b56c10315baf7bfce708b486a4db64
hovercard-subject-tagpull_request:283864355
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/31687/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/a09272037f8d588110678a84a15038079817e117aee1667bcfc0291c2022c9af/microsoft/TypeScript/pull/31687
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a09272037f8d588110678a84a15038079817e117aee1667bcfc0291c2022c9af/microsoft/TypeScript/pull/31687
og:image:altTypes representing object literals or modules have inferable index signatures because their exact set of properties is known. This PR implements the same behavior for types representing enum object...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameahejlsberg
hostnamegithub.com
expected-hostnamegithub.com
None27088b6977484d0d3321d9a11c907c6d6637b315cfa359ef7952dbf6292f9b14
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
release624179fb8b88d26ba5bba08894eb60a1c5a1d93d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/31687#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F31687
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%2F31687
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/31687
Reloadhttps://github.com/microsoft/TypeScript/pull/31687
Reloadhttps://github.com/microsoft/TypeScript/pull/31687
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests309 (309)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
enumImplicitIndexSignatureshttps://github.com/microsoft/TypeScript/tree/enumImplicitIndexSignatures
Conversationhttps://github.com/microsoft/TypeScript/pull/31687
Commits6 (6)https://github.com/microsoft/TypeScript/pull/31687/commits
Checkshttps://github.com/microsoft/TypeScript/pull/31687/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/31687/files
Implicit index signatures for enum object typeshttps://github.com/microsoft/TypeScript/pull/31687#top
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
masterhttps://github.com/microsoft/TypeScript/tree/master
enumImplicitIndexSignatureshttps://github.com/microsoft/TypeScript/tree/enumImplicitIndexSignatures
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
May 31, 2019https://github.com/microsoft/TypeScript/pull/31687#issue-450571846
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/31687
#30977https://github.com/microsoft/TypeScript/issues/30977
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/31687
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
May 22, 2019 17:12https://github.com/microsoft/TypeScript/pull/31687#commits-pushed-b688e25
https://github.com/ahejlsberg
Implement inferrable index signatures for enum typeshttps://github.com/microsoft/TypeScript/pull/31687/commits/b688e25cd37b4e0df5727846a02295e8b84ca702
b688e25https://github.com/microsoft/TypeScript/pull/31687/commits/b688e25cd37b4e0df5727846a02295e8b84ca702
https://github.com/ahejlsberg
Accept new baselineshttps://github.com/microsoft/TypeScript/pull/31687/commits/a95d18e7b4492e0cba86e295b767a9516167646b
a95d18ehttps://github.com/microsoft/TypeScript/pull/31687/commits/a95d18e7b4492e0cba86e295b767a9516167646b
https://github.com/ahejlsberg
Merge branch 'master' into enumImplicitIndexSignatureshttps://github.com/microsoft/TypeScript/pull/31687/commits/0b53b8e7f8df221bf6d8c4bb178ab282a4079500
0b53b8ehttps://github.com/microsoft/TypeScript/pull/31687/commits/0b53b8e7f8df221bf6d8c4bb178ab282a4079500
https://github.com/ahejlsberg
Add testshttps://github.com/microsoft/TypeScript/pull/31687/commits/cf1bceb9e4a90b2425ff46fee3a9b01c7fbb7c60
cf1bcebhttps://github.com/microsoft/TypeScript/pull/31687/commits/cf1bceb9e4a90b2425ff46fee3a9b01c7fbb7c60
https://github.com/ahejlsberg
Accept new baselineshttps://github.com/microsoft/TypeScript/pull/31687/commits/8bd6fd85db1b4952b7d43c7efadbc0f6278ad5ec
8bd6fd8https://github.com/microsoft/TypeScript/pull/31687/commits/8bd6fd85db1b4952b7d43c7efadbc0f6278ad5ec
https://github.com/ahejlsberg
Fix lint errorhttps://github.com/microsoft/TypeScript/pull/31687/commits/bb15df3e435e14a85b4a6dc15c000f7eb6af50af
bb15df3https://github.com/microsoft/TypeScript/pull/31687/commits/bb15df3e435e14a85b4a6dc15c000f7eb6af50af
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
May 31, 2019https://github.com/microsoft/TypeScript/pull/31687#issuecomment-497572108
TypeScript Bot (@typescript-bot)https://github.com/typescript-bot
TypeScript Bot (@typescript-bot)https://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/31687
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
May 31, 2019https://github.com/microsoft/TypeScript/pull/31687#issuecomment-497572119
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/31687
Anders Hejlsberg (@ahejlsberg)https://github.com/ahejlsberg
bb15df3https://github.com/microsoft/TypeScript/commit/bb15df3e435e14a85b4a6dc15c000f7eb6af50af
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=31975
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/31687
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
May 31, 2019https://github.com/microsoft/TypeScript/pull/31687#issuecomment-497572120
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/31687
Anders Hejlsberg (@ahejlsberg)https://github.com/ahejlsberg
bb15df3https://github.com/microsoft/TypeScript/commit/bb15df3e435e14a85b4a6dc15c000f7eb6af50af
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=31976
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/31687
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
May 31, 2019 https://github.com/microsoft/TypeScript/pull/31687#ref-issue-434013134
False positive error report for enum and class instance type missing index signature, thus not assignable to object type with unknown values. #30977 https://github.com/microsoft/TypeScript/issues/30977
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Wesley Wigham (weswigham)https://github.com/weswigham
May 31, 2019 18:07https://github.com/microsoft/TypeScript/pull/31687#event-2381750470
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
May 31, 2019 https://github.com/microsoft/TypeScript/pull/31687#pullrequestreview-244484606
View reviewed changes https://github.com/microsoft/TypeScript/pull/31687/files/bb15df3e435e14a85b4a6dc15c000f7eb6af50af
tests/cases/compiler/implicitIndexSignatures.tshttps://github.com/microsoft/TypeScript/pull/31687/files/bb15df3e435e14a85b4a6dc15c000f7eb6af50af#diff-24ce3511813534dbed3b652c714e109662806cb831b322aaa9a61621ae4f2afb
Wesley Wigham (weswigham)https://github.com/weswigham
May 31, 2019https://github.com/microsoft/TypeScript/pull/31687#discussion_r289524798
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/31687
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
May 31, 2019https://github.com/microsoft/TypeScript/pull/31687#discussion_r289539618
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/31687
Wesley Wigham (weswigham)https://github.com/weswigham
May 31, 2019https://github.com/microsoft/TypeScript/pull/31687#discussion_r289561325
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/31687
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Jun 2, 2019https://github.com/microsoft/TypeScript/pull/31687#discussion_r289622597
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/31687
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Jun 2, 2019https://github.com/microsoft/TypeScript/pull/31687#discussion_r289622726
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/31687
Wesley Wigham (weswigham)https://github.com/weswigham
Jun 2, 2019https://github.com/microsoft/TypeScript/pull/31687#discussion_r289625181
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/31687
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Jun 2, 2019 https://github.com/microsoft/TypeScript/pull/31687#pullrequestreview-244608625
View reviewed changes https://github.com/microsoft/TypeScript/pull/31687/files/bb15df3e435e14a85b4a6dc15c000f7eb6af50af
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
a5281adhttps://github.com/microsoft/TypeScript/commit/a5281ada54def6cf413c5181973c41d09b7e16bc
Jun 2, 2019https://github.com/microsoft/TypeScript/pull/31687#event-2383225579
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
June 2, 2019 14:43https://github.com/microsoft/TypeScript/pull/31687#event-2383225632
https://github.com/ajafff
Klaus Meinhardt (ajafff)https://github.com/ajafff
Jun 2, 2019 https://github.com/microsoft/TypeScript/pull/31687#ref-issue-451209975
Strange error involving evolving array type and Array#sort callback #31728 https://github.com/microsoft/TypeScript/issues/31728
https://github.com/jcalz
Joe Calzaretta (jcalz)https://github.com/jcalz
Sep 3, 2019 https://github.com/microsoft/TypeScript/pull/31687#ref-issue-488337797
Object.values(Enum) should return an array of Enum's value's type #33200 https://github.com/microsoft/TypeScript/issues/33200
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Breaking Change https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Breaking%20Change%22
Sep 3, 2019https://github.com/microsoft/TypeScript/pull/31687#event-2605205509
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Sep 13, 2019 https://github.com/microsoft/TypeScript/pull/31687#ref-issue-493076544
Breaking change in string enum member type in v3.6 #33403 https://github.com/microsoft/TypeScript/issues/33403
https://github.com/rbuckton
Ron Buckton (rbuckton)https://github.com/rbuckton
Nov 13, 2020 https://github.com/microsoft/TypeScript/pull/31687#ref-issue-486623242
iterating an enum is now an error #33123 https://github.com/microsoft/TypeScript/issues/33123
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Oct 21, 2025https://github.com/microsoft/TypeScript/pull/31687#event-20416689384
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Oct 21, 2025https://github.com/microsoft/TypeScript/pull/31687#event-20416689985
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%2F31687
https://github.com/weswigham
Wesley Wigham (weswigham) https://github.com/weswigham
https://github.com/microsoft/TypeScript/pull/31687/files/bb15df3e435e14a85b4a6dc15c000f7eb6af50af
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh) https://github.com/RyanCavanaugh
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/31687
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg) https://github.com/ahejlsberg
Breaking Change https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Breaking%20Change%22
False positive error report for enum and class instance type missing index signature, thus not assignable to object type with unknown values. https://github.com/microsoft/TypeScript/issues/30977
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/31687
https://github.com/ahejlsberg
https://github.com/typescript-bot
https://github.com/weswigham
https://github.com/sandersn
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.