René's URL Explorer Experiment


Title: Improved checking of for-in statements by ahejlsberg · Pull Request #6379 · microsoft/TypeScript · GitHub

Open Graph Title: Improved checking of for-in statements by ahejlsberg · Pull Request #6379 · microsoft/TypeScript

X Title: Improved checking of for-in statements by ahejlsberg · Pull Request #6379 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Improved checking of for-in statements by ahejlsberg · Pull Request #6379 · microsoft/TypeScript

Open Graph Description: This PR fixes #6346 by implementing two changes: The type of a variable declared in a for-in statement is implicitly string (previously it was any). When an object with a numeric index signature o...

X Description: This PR fixes #6346 by implementing two changes: The type of a variable declared in a for-in statement is implicitly string (previously it was any). When an object with a numeric index signature o...

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

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:207522b7-629f-4e26-82c8-d1e45c9c0c0b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA55A:27D3AD:1806FA:1F5562:6B00C979
html-safe-nonced258b1e3372fbe87f762b6ac7a60da1dc567697f768c393012afbefa4a0e7171
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTVBOjI3RDNBRDoxODA2RkE6MUY1NTYyOjZCMDBDOTc5IiwidmlzaXRvcl9pZCI6IjgzNTE2NzAwMDc0NDQzMjY3NzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac14b3bc792ef7797e89fbb4b7e1951092ce20b5d622ee3b37e072bc379b74d40f
hovercard-subject-tagpull_request:55262830
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/6379/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/65e1a99d9a4afd1dc9df6e54dfb69b5d7f1d051b0a7d249b2bff05c8ec7f8a67/microsoft/TypeScript/pull/6379
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/65e1a99d9a4afd1dc9df6e54dfb69b5d7f1d051b0a7d249b2bff05c8ec7f8a67/microsoft/TypeScript/pull/6379
og:image:altThis PR fixes #6346 by implementing two changes: The type of a variable declared in a for-in statement is implicitly string (previously it was any). When an object with a numeric index signature o...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameahejlsberg
hostnamegithub.com
expected-hostnamegithub.com
None98dc00e171c204462a6f367482a0f8c3c6b5dbca99cd7390e82d2df49ce096e4
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
releaseef013399cf0a3c324bea644a685d7c1e0f06b5b7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/6379#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F6379
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%2F6379
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/6379
Reloadhttps://github.com/microsoft/TypeScript/pull/6379
Reloadhttps://github.com/microsoft/TypeScript/pull/6379
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests307 (307)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
forInCheckinghttps://github.com/microsoft/TypeScript/tree/forInChecking
Conversationhttps://github.com/microsoft/TypeScript/pull/6379
Commits9 (9)https://github.com/microsoft/TypeScript/pull/6379/commits
Checkshttps://github.com/microsoft/TypeScript/pull/6379/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/6379/files
Improved checking of for-in statementshttps://github.com/microsoft/TypeScript/pull/6379#top
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
masterhttps://github.com/microsoft/TypeScript/tree/master
forInCheckinghttps://github.com/microsoft/TypeScript/tree/forInChecking
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Jan 6, 2016https://github.com/microsoft/TypeScript/pull/6379#issue-125260539
#6346https://github.com/microsoft/TypeScript/issues/6346
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/6379
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
January 6, 2016 10:52https://github.com/microsoft/TypeScript/pull/6379#commits-pushed-a05b1de
https://github.com/ahejlsberg
Change for-in iteration variable type from any to stringhttps://github.com/microsoft/TypeScript/pull/6379/commits/a05b1de7ee7ff25f54ab23db4009439011b38c58
https://github.com/microsoft/TypeScript/commit/a05b1de7ee7ff25f54ab23db4009439011b38c58#comments
a05b1dehttps://github.com/microsoft/TypeScript/pull/6379/commits/a05b1de7ee7ff25f54ab23db4009439011b38c58
https://github.com/ahejlsberg
Updating existing testshttps://github.com/microsoft/TypeScript/pull/6379/commits/75b4c50cec458a79623bbd4bea7e992e13348599
75b4c50https://github.com/microsoft/TypeScript/pull/6379/commits/75b4c50cec458a79623bbd4bea7e992e13348599
https://github.com/ahejlsberg
Adding new testshttps://github.com/microsoft/TypeScript/pull/6379/commits/dbb4544d61521b220a1219841e14df4cb2dd505f
dbb4544https://github.com/microsoft/TypeScript/pull/6379/commits/dbb4544d61521b220a1219841e14df4cb2dd505f
https://github.com/ahejlsberg
Accepting new baselineshttps://github.com/microsoft/TypeScript/pull/6379/commits/9ce5e6477bb15e76f168ae7fa878649254eb32e4
9ce5e64https://github.com/microsoft/TypeScript/pull/6379/commits/9ce5e6477bb15e76f168ae7fa878649254eb32e4
https://github.com/msftclas
Microsoft Contribution License Agreements (msftclas)https://github.com/msftclas
cla-not-required https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3Acla-not-required
Jan 6, 2016https://github.com/microsoft/TypeScript/pull/6379#event-507531542
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
January 6, 2016 16:12https://github.com/microsoft/TypeScript/pull/6379#commits-pushed-120569a
https://github.com/ahejlsberg
Support for-in both with and without variable declarationhttps://github.com/microsoft/TypeScript/pull/6379/commits/120569afb00f7ef68fc8bd7ce1c0533978aadfbc
120569ahttps://github.com/microsoft/TypeScript/pull/6379/commits/120569afb00f7ef68fc8bd7ce1c0533978aadfbc
https://github.com/ahejlsberg
Updating testshttps://github.com/microsoft/TypeScript/pull/6379/commits/1798024f4fa76c8fb224386802098e98684b1511
1798024https://github.com/microsoft/TypeScript/pull/6379/commits/1798024f4fa76c8fb224386802098e98684b1511
https://github.com/ahejlsberg
Merge branch 'master' into forInCheckinghttps://github.com/microsoft/TypeScript/pull/6379/commits/537fb4a7c5910bfebd9682bf509f440c46927c0d
537fb4ahttps://github.com/microsoft/TypeScript/pull/6379/commits/537fb4a7c5910bfebd9682bf509f440c46927c0d
DanielRosenwasserhttps://github.com/DanielRosenwasser
Jan 7, 2016 https://github.com/microsoft/TypeScript/pull/6379#discussion-diff-49106408
View reviewed changes https://github.com/microsoft/TypeScript/pull/6379/files/1798024f4fa76c8fb224386802098e98684b1511#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/6379/files#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
Jan 7, 2016https://github.com/microsoft/TypeScript/pull/6379#discussion_r49106408
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/6379
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
Jan 7, 2016https://github.com/microsoft/TypeScript/pull/6379#discussion_r49106685
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/6379
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Jan 7, 2016https://github.com/microsoft/TypeScript/pull/6379#discussion_r49108939
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/6379
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
Jan 7, 2016https://github.com/microsoft/TypeScript/pull/6379#discussion_r49109261
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/6379
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
January 7, 2016 10:34https://github.com/microsoft/TypeScript/pull/6379#commits-pushed-3344a42
https://github.com/ahejlsberg
Check for numeric index signature instead of array-like typehttps://github.com/microsoft/TypeScript/pull/6379/commits/3344a42686b4a3b4470497ef20a3f3e3aea11cd5
3344a42https://github.com/microsoft/TypeScript/pull/6379/commits/3344a42686b4a3b4470497ef20a3f3e3aea11cd5
https://github.com/ahejlsberg
Accepting new baselineshttps://github.com/microsoft/TypeScript/pull/6379/commits/a0fcc0f45a3f66708cf00d9bd07600cdd3e93524
a0fcc0fhttps://github.com/microsoft/TypeScript/pull/6379/commits/a0fcc0f45a3f66708cf00d9bd07600cdd3e93524
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Jan 7, 2016https://github.com/microsoft/TypeScript/pull/6379#issuecomment-169798761
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/6379
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Jan 7, 2016 https://github.com/microsoft/TypeScript/pull/6379#ref-issue-103652547
For var in object: Var is implicitly any without error #4518 https://github.com/microsoft/TypeScript/issues/4518
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Jan 7, 2016 https://github.com/microsoft/TypeScript/pull/6379#ref-pullrequest-124435314
use string as type of variable in ForInStatement #6302 https://github.com/microsoft/TypeScript/pull/6302
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Jan 8, 2016 https://github.com/microsoft/TypeScript/pull/6379#ref-issue-124822053
Solve the for-in / indexer mess #6346 https://github.com/microsoft/TypeScript/issues/6346
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
Jan 8, 2016https://github.com/microsoft/TypeScript/pull/6379#event-509910403
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Jan 8, 2016 https://github.com/microsoft/TypeScript/pull/6379#ref-commit-0bfc83b
https://github.com/ahejlsberg
Merge pull requesthttps://github.com/microsoft/TypeScript/commit/0bfc83bbbcc3949e5b168e8e3d2e0898f81b29ee
#6379https://github.com/microsoft/TypeScript/pull/6379
from Microsoft/forInCheckinghttps://github.com/microsoft/TypeScript/commit/0bfc83bbbcc3949e5b168e8e3d2e0898f81b29ee
0bfc83bhttps://github.com/microsoft/TypeScript/commit/0bfc83bbbcc3949e5b168e8e3d2e0898f81b29ee
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
0bfc83bhttps://github.com/microsoft/TypeScript/commit/0bfc83bbbcc3949e5b168e8e3d2e0898f81b29ee
Jan 8, 2016https://github.com/microsoft/TypeScript/pull/6379#event-509910917
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
January 8, 2016 21:49https://github.com/microsoft/TypeScript/pull/6379#event-509914476
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Feb 7, 2016 https://github.com/microsoft/TypeScript/pull/6379#ref-issue-131987792
More specific JSON parse reviver argument in lib.d.ts #6955 https://github.com/microsoft/TypeScript/issues/6955
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Jun 19, 2018https://github.com/microsoft/TypeScript/pull/6379#event-1689631940
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%2F6379
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/6379
Breaking Change https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Breaking%20Change%22
Solve the for-in / indexer mess https://github.com/microsoft/TypeScript/issues/6346
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/6379
https://github.com/ahejlsberg
https://github.com/sandersn
https://github.com/DanielRosenwasser
https://github.com/msftclas
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.