René's URL Explorer Experiment


Title: fix(38073): Extract to function refactoring generates invalid code for arrow function that references `this` by a-tarasyuk · Pull Request #38107 · microsoft/TypeScript · GitHub

Open Graph Title: fix(38073): Extract to function refactoring generates invalid code for arrow function that references `this` by a-tarasyuk · Pull Request #38107 · microsoft/TypeScript

X Title: fix(38073): Extract to function refactoring generates invalid code for arrow function that references `this` by a-tarasyuk · Pull Request #38107 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - fix(38073): Extract to function refactoring generates invalid code for arrow function that references `this` by a-tarasyuk · Pull Request #38107 · microsoft/TypeScript

Open Graph Description: Fixes #38073

X Description: Fixes #38073

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

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:c0f62291-e087-163e-cb8f-ff556fedacfd
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9FEE:4E3C:7EA134:A9EE0B:6B00DC9A
html-safe-nonce8fbca4451af7db9721bb2b3abe268d49d6ab84e59bce13860ff9b0e8eed77716
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RkVFOjRFM0M6N0VBMTM0OkE5RUUwQjo2QjAwREM5QSIsInZpc2l0b3JfaWQiOiI3MDAwMzU5Mzg5Mjk1MDc0NDU5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacda443d896214e9d88d5aba51218d1f413020fdb47fb6ead99fe6f409fd2cc7a4
hovercard-subject-tagpull_request:407161732
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/38107/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/88c7a8284ffe3f693e61f3539c851c20d7475979ecc6d5bef18145b4563826dd/microsoft/TypeScript/pull/38107
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/88c7a8284ffe3f693e61f3539c851c20d7475979ecc6d5bef18145b4563826dd/microsoft/TypeScript/pull/38107
og:image:altFixes #38073
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamea-tarasyuk
hostnamegithub.com
expected-hostnamegithub.com
None043c3f30fbcbe2c6c8e729e10cbbbc90c406546f9fbbb67c648d38f6b7d16daf
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
release5425dc24e8bd8d6fca9641a12afc984825a43875
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/38107#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F38107
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%2F38107
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/38107
Reloadhttps://github.com/microsoft/TypeScript/pull/38107
Reloadhttps://github.com/microsoft/TypeScript/pull/38107
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests308 (308)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
Jesse Trinity (jessetrinity)https://github.com/jessetrinity
microsoft:masterhttps://github.com/microsoft/TypeScript/tree/master
a-tarasyuk:bug/38073https://github.com/a-tarasyuk/TypeScript/tree/bug/38073
Conversationhttps://github.com/microsoft/TypeScript/pull/38107
Commits2 (2)https://github.com/microsoft/TypeScript/pull/38107/commits
Checkshttps://github.com/microsoft/TypeScript/pull/38107/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/38107/files
fix(38073): Extract to function refactoring generates invalid code for arrow function that references thishttps://github.com/microsoft/TypeScript/pull/38107#top
Jesse Trinity (jessetrinity)https://github.com/jessetrinity
microsoft:masterhttps://github.com/microsoft/TypeScript/tree/master
a-tarasyuk:bug/38073https://github.com/a-tarasyuk/TypeScript/tree/bug/38073
https://github.com/a-tarasyuk
Oleksandr Tarasiuk (a-tarasyuk)https://github.com/a-tarasyuk
Apr 22, 2020https://github.com/microsoft/TypeScript/pull/38107#issue-604598617
#38073https://github.com/microsoft/TypeScript/issues/38073
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/38107
Oleksandr Tarasiuk (a-tarasyuk)https://github.com/a-tarasyuk
April 22, 2020 12:12https://github.com/microsoft/TypeScript/pull/38107#commits-pushed-a86178d
https://github.com/a-tarasyuk
fix(38073): hide 'Extract to function in global scope' action for arr…https://github.com/microsoft/TypeScript/pull/38107/commits/a86178d2f7022b792451af55ca1991db17974ffe
a86178dhttps://github.com/microsoft/TypeScript/pull/38107/commits/a86178d2f7022b792451af55ca1991db17974ffe
https://github.com/a-tarasyuk
Merge branch 'master' ofhttps://github.com/microsoft/TypeScript/pull/38107/commits/9adc2aa2467f0f12b8062e55796a4ec30b87fbdd
https://github.com/microsoft/TypeScripthttps://github.com/microsoft/TypeScript
into…https://github.com/microsoft/TypeScript/pull/38107/commits/9adc2aa2467f0f12b8062e55796a4ec30b87fbdd
9adc2aahttps://github.com/microsoft/TypeScript/pull/38107/commits/9adc2aa2467f0f12b8062e55796a4ec30b87fbdd
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
For Backlog Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Backlog%20Bug%22
May 5, 2020https://github.com/microsoft/TypeScript/pull/38107#event-3305024676
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Mine Starks (minestarks)https://github.com/minestarks
May 5, 2020https://github.com/microsoft/TypeScript/pull/38107#event-3305027854
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Jesse Trinity (jessetrinity)https://github.com/jessetrinity
Mine Starks (minestarks)https://github.com/minestarks
May 5, 2020 16:26https://github.com/microsoft/TypeScript/pull/38107#event-3305028363
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
May 5, 2020https://github.com/microsoft/TypeScript/pull/38107#issuecomment-624158573
Mine Starks (@minestarks)https://github.com/minestarks
Jesse Trinity (@jessetrinity)https://github.com/jessetrinity
Jesse Trinity (@jessetrinity)https://github.com/jessetrinity
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/38107
https://github.com/minestarks
Mine Starks (minestarks)https://github.com/minestarks
May 8, 2020https://github.com/microsoft/TypeScript/pull/38107#issuecomment-626058801
Jesse Trinity (@jessetrinity)https://github.com/jessetrinity
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/38107
https://github.com/jessetrinity
Jesse Trinity (jessetrinity)https://github.com/jessetrinity
May 11, 2020https://github.com/microsoft/TypeScript/pull/38107#issuecomment-626907777
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/38107
https://github.com/jessetrinity
Jesse Trinity (jessetrinity)https://github.com/jessetrinity
May 11, 2020 https://github.com/microsoft/TypeScript/pull/38107#pullrequestreview-409463387
View reviewed changes https://github.com/microsoft/TypeScript/pull/38107/files/9adc2aa2467f0f12b8062e55796a4ec30b87fbdd
https://github.com/jessetrinity
Jesse Trinity (jessetrinity)https://github.com/jessetrinity
738b6b5https://github.com/microsoft/TypeScript/commit/738b6b5b685f291dc8d8658b5e6aaa43f4e47ab9
May 11, 2020https://github.com/microsoft/TypeScript/pull/38107#event-3324430644
AllenLee (cangSDARM)https://github.com/cangSDARM
May 12, 2020 https://github.com/microsoft/TypeScript/pull/38107#ref-commit-2e7319b
https://github.com/cangSDARM
Merge remote-tracking branch 'upstream/master'https://github.com/cangSDARM/TypeScript/commit/2e7319bd9a6f0eb1c700cdfb4de947c750ade2dc
2e7319bhttps://github.com/cangSDARM/TypeScript/commit/2e7319bd9a6f0eb1c700cdfb4de947c750ade2dc
microsoft#38403https://github.com/microsoft/TypeScript/pull/38403
microsoft#38270https://github.com/microsoft/TypeScript/pull/38270
microsoft#37546https://github.com/microsoft/TypeScript/pull/37546
@typehttps://github.com/type
microsoft#38340https://github.com/microsoft/TypeScript/pull/38340
microsoft#38107https://github.com/microsoft/TypeScript/pull/38107
microsoft#38472https://github.com/microsoft/TypeScript/pull/38472
microsoft#38405https://github.com/microsoft/TypeScript/pull/38405
microsoft#38430https://github.com/microsoft/TypeScript/issues/38430
microsoft#38368https://github.com/microsoft/TypeScript/pull/38368
microsoft#38269https://github.com/microsoft/TypeScript/pull/38269
microsoft#38395https://github.com/microsoft/TypeScript/pull/38395
microsoft#38398https://github.com/microsoft/TypeScript/pull/38398
microsoft#38128https://github.com/microsoft/TypeScript/pull/38128
https://github.com/a-tarasyuk
Oleksandr Tarasiuk (a-tarasyuk)https://github.com/a-tarasyuk
May 31, 2020 https://github.com/microsoft/TypeScript/pull/38107#ref-pullrequest-627927668
fix(38815): Extract to function crash #38865 https://github.com/microsoft/TypeScript/pull/38865
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Oct 21, 2025https://github.com/microsoft/TypeScript/pull/38107#event-20416943909
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%2F38107
https://github.com/minestarks
Mine Starks (minestarks) https://github.com/minestarks
https://github.com/jessetrinity
Jesse Trinity (jessetrinity) https://github.com/jessetrinity
https://github.com/microsoft/TypeScript/pull/38107/files/9adc2aa2467f0f12b8062e55796a4ec30b87fbdd
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/38107
https://github.com/minestarks
Mine Starks (minestarks) https://github.com/minestarks
For Backlog Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Backlog%20Bug%22
PR Backlog https://github.com/orgs/microsoft/projects/1252
Extract to function refactoring generates invalid code for arrow function that references this https://github.com/microsoft/TypeScript/issues/38073
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/38107
https://github.com/a-tarasyuk
https://github.com/sandersn
https://github.com/minestarks
https://github.com/jessetrinity
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.