René's URL Explorer Experiment


Title: fix(58801): "Move to file" on global code unnecessarily imports/exports, generates invalid code by a-tarasyuk · Pull Request #58811 · microsoft/TypeScript · GitHub

Open Graph Title: fix(58801): "Move to file" on global code unnecessarily imports/exports, generates invalid code by a-tarasyuk · Pull Request #58811 · microsoft/TypeScript

X Title: fix(58801): "Move to file" on global code unnecessarily imports/exports, generates invalid code by a-tarasyuk · Pull Request #58811 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - fix(58801): "Move to file" on global code unnecessarily imports/exports, generates invalid code by a-tarasyuk · Pull Request #58811 · microsoft/TypeScript

Open Graph Description: Fixes #58801 Fixes #58806

X Description: Fixes #58801 Fixes #58806

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

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:a22b4530-c006-f4ae-b032-c3992cdbc0a4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8FA0:9496:3F4712:55F777:6A61194A
html-safe-nonceb27c60de64b6bdab3272a368f99a4d6582291af3ba34eea77ea129baf0eeee25
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RkEwOjk0OTY6M0Y0NzEyOjU1Rjc3Nzo2QTYxMTk0QSIsInZpc2l0b3JfaWQiOiI2MDQyNjg5NTMzMjAwMzc0MDkwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac0f7d09f5cfe13c0f58f9b463b1c37337fc2b9460290eb7ee4a043a28aebb3945
hovercard-subject-tagpull_request:1910951190
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/58811/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d327c21349ee0be92377833432c9809b27787a0824dc0030b575e8824e44a992/microsoft/TypeScript/pull/58811
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d327c21349ee0be92377833432c9809b27787a0824dc0030b575e8824e44a992/microsoft/TypeScript/pull/58811
og:image:altFixes #58801 Fixes #58806
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamea-tarasyuk
hostnamegithub.com
expected-hostnamegithub.com
None5d23cf1c0cd2fa53870b9a743b3e1bc3ff0d0b0b3a477b50251e1c9dd8ecb93d
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
releaseabf5a2f79ab9b533c5865f5281057f7d17cf18f3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/58811#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F58811
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%2F58811
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/58811
Reloadhttps://github.com/microsoft/TypeScript/pull/58811
Reloadhttps://github.com/microsoft/TypeScript/pull/58811
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/58811
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
DanielRosenwasserhttps://github.com/DanielRosenwasser
microsoft:mainhttps://github.com/microsoft/TypeScript/tree/main
a-tarasyuk:fix/58801https://github.com/a-tarasyuk/TypeScript/tree/fix/58801
Conversationhttps://github.com/microsoft/TypeScript/pull/58811
Commits1 (1)https://github.com/microsoft/TypeScript/pull/58811/commits
Checkshttps://github.com/microsoft/TypeScript/pull/58811/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/58811/files
fix(58801): "Move to file" on global code unnecessarily imports/exports, generates invalid codehttps://github.com/microsoft/TypeScript/pull/58811#top
DanielRosenwasserhttps://github.com/DanielRosenwasser
microsoft:mainhttps://github.com/microsoft/TypeScript/tree/main
a-tarasyuk:fix/58801https://github.com/a-tarasyuk/TypeScript/tree/fix/58801
https://github.com/a-tarasyuk
a-tarasyukhttps://github.com/a-tarasyuk
Jun 9, 2024https://github.com/microsoft/TypeScript/pull/58811#issue-2342478801
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/58811
#58801https://github.com/microsoft/TypeScript/issues/58801
#58806https://github.com/microsoft/TypeScript/issues/58806
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/58811
https://github.com/a-tarasyuk
fix(58801): avoid global re-exportshttps://github.com/microsoft/TypeScript/pull/58811/commits/5726e7260bdd600fe92e6aa8694a5255dfc38d43
5726e72https://github.com/microsoft/TypeScript/pull/58811/commits/5726e7260bdd600fe92e6aa8694a5255dfc38d43
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
For Uncommitted Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Uncommitted%20Bug%22
Jun 9, 2024https://github.com/microsoft/TypeScript/pull/58811#event-13092534228
https://github.com/DanielRosenwasser
DanielRosenwasserhttps://github.com/DanielRosenwasser
andrewbranchhttps://github.com/andrewbranch
gabrittohttps://github.com/gabritto
navya9singhhttps://github.com/navya9singh
June 10, 2024 23:57https://github.com/microsoft/TypeScript/pull/58811#event-13108722087
https://github.com/andrewbranch
andrewbranchhttps://github.com/andrewbranch
Jun 11, 2024 https://github.com/microsoft/TypeScript/pull/58811#pullrequestreview-2110976003
View reviewed changes https://github.com/microsoft/TypeScript/pull/58811/files/5726e7260bdd600fe92e6aa8694a5255dfc38d43
andrewbranchhttps://github.com/andrewbranch
https://github.com/microsoft/TypeScript/pull/58811#pullrequestreview-2110976003
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/58811
https://github.com/a-tarasyuk
a-tarasyukhttps://github.com/a-tarasyuk
Jun 11, 2024https://github.com/microsoft/TypeScript/pull/58811#issuecomment-2161593508
@andrewbranchhttps://github.com/andrewbranch
TypeScript/src/services/refactors/moveToFile.tshttps://github.com/microsoft/TypeScript/blob/d8086f14b6b97c0df34a0cc2f56d4b5926a0c299/src/services/refactors/moveToFile.ts#L901-L912
d8086f1https://github.com/microsoft/TypeScript/commit/d8086f14b6b97c0df34a0cc2f56d4b5926a0c299
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/58811
https://github.com/sandersn
sandersnhttps://github.com/sandersn
andrewbranchhttps://github.com/andrewbranch
Jun 12, 2024https://github.com/microsoft/TypeScript/pull/58811#event-13135589551
https://github.com/a-tarasyuk
a-tarasyukhttps://github.com/a-tarasyuk
Jun 12, 2024https://github.com/microsoft/TypeScript/pull/58811#issuecomment-2163760103
#58806https://github.com/microsoft/TypeScript/issues/58806
moveToNewFile_global3.tshttps://github.com/microsoft/TypeScript/pull/58811/files#diff-9eae48c3c4d39ae4bcaf52556262b5b15b814f53051e874e0ac120886e5d2804
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/58811
https://github.com/andrewbranch
andrewbranchhttps://github.com/andrewbranch
navya9singhhttps://github.com/navya9singh
andrewbranchhttps://github.com/andrewbranch
Jun 12, 2024https://github.com/microsoft/TypeScript/pull/58811#event-13137083352
https://github.com/andrewbranch
andrewbranchhttps://github.com/andrewbranch
Jun 12, 2024https://github.com/microsoft/TypeScript/pull/58811#issuecomment-2163849999
@navya9singhhttps://github.com/navya9singh
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/58811
https://github.com/DanielRosenwasser
DanielRosenwasserhttps://github.com/DanielRosenwasser
Jun 19, 2024 https://github.com/microsoft/TypeScript/pull/58811#pullrequestreview-2126764753
View reviewed changes https://github.com/microsoft/TypeScript/pull/58811/files/5726e7260bdd600fe92e6aa8694a5255dfc38d43
DanielRosenwasserhttps://github.com/DanielRosenwasser
https://github.com/microsoft/TypeScript/pull/58811#pullrequestreview-2126764753
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/58811
https://github.com/DanielRosenwasser
DanielRosenwasserhttps://github.com/DanielRosenwasser
e8fca15https://github.com/microsoft/TypeScript/commit/e8fca15b1475995258b55bb4fb8fec692fcf35ae
Jun 19, 2024https://github.com/microsoft/TypeScript/pull/58811#event-13208210207
https://github.com/DanielRosenwasser
DanielRosenwasserhttps://github.com/DanielRosenwasser
Jun 19, 2024https://github.com/microsoft/TypeScript/pull/58811#issuecomment-2177296017
@typescript-bothttps://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/58811
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Jun 19, 2024https://github.com/microsoft/TypeScript/pull/58811#issuecomment-2177296077
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/58811
✅ Startedhttps://github.com/microsoft/TypeScript/actions/runs/9574062258
✅ Resultshttps://github.com/microsoft/TypeScript/pull/58811#issuecomment-2177297336
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/58811
typescript-bothttps://github.com/typescript-bot
Jun 19, 2024 https://github.com/microsoft/TypeScript/pull/58811#ref-commit-968082a
https://github.com/a-tarasyuk
https://github.com/typescript-bot
fix(58801): "Move to file" on global code unnecessarily imports/expor…https://github.com/microsoft/TypeScript/commit/968082a864a767e1f994bfeda300611054707de6
968082ahttps://github.com/microsoft/TypeScript/commit/968082a864a767e1f994bfeda300611054707de6
#58811https://github.com/microsoft/TypeScript/pull/58811
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Jun 19, 2024 https://github.com/microsoft/TypeScript/pull/58811#ref-pullrequest-2360961634
🤖 Pick PR #58811 (fix(58801): "Move to file" on globa...) into release-5.5 #58923 https://github.com/microsoft/TypeScript/pull/58923
https://github.com/typescript-bot
typescript-bothttps://github.com/typescript-bot
Jun 19, 2024https://github.com/microsoft/TypeScript/pull/58811#issuecomment-2177297336
@DanielRosenwasserhttps://github.com/DanielRosenwasser
#58923https://github.com/microsoft/TypeScript/pull/58923
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/58811
DanielRosenwasserhttps://github.com/DanielRosenwasser
Jun 19, 2024 https://github.com/microsoft/TypeScript/pull/58811#ref-commit-7b1620b
https://github.com/a-tarasyuk
🤖 Pick PRhttps://github.com/microsoft/TypeScript/commit/7b1620bea227ea47f8944a2b02a7ed91691c3046
#58811https://github.com/microsoft/TypeScript/pull/58811
(fix(58801): "Move to file" on globa...) into releas…https://github.com/microsoft/TypeScript/commit/7b1620bea227ea47f8944a2b02a7ed91691c3046
7b1620bhttps://github.com/microsoft/TypeScript/commit/7b1620bea227ea47f8944a2b02a7ed91691c3046
#58923https://github.com/microsoft/TypeScript/pull/58923
https://github.com/HolgerJeromin
HolgerJerominhttps://github.com/HolgerJeromin
Jun 27, 2024 https://github.com/microsoft/TypeScript/pull/58811#ref-issue-2341346020
Assertion violation in "move to new file" #58806 https://github.com/microsoft/TypeScript/issues/58806
https://github.com/iisaduan
iisaduanhttps://github.com/iisaduan
Oct 8, 2024 https://github.com/microsoft/TypeScript/pull/58811#ref-pullrequest-2574230772
moveToFile: fix check for global name resolving #60173 https://github.com/microsoft/TypeScript/pull/60173
https://github.com/sandersn
sandersnhttps://github.com/sandersn
PR Backloghttps://github.com/orgs/microsoft/projects/1252
Apr 22, 2025https://github.com/microsoft/TypeScript/pull/58811#event-17355392758
https://github.com/microsoft
microsofthttps://github.com/microsoft
Oct 16, 2025https://github.com/microsoft/TypeScript/pull/58811#event-20323077325
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%2F58811
https://github.com/DanielRosenwasser
DanielRosenwasser https://github.com/DanielRosenwasser
https://github.com/microsoft/TypeScript/pull/58811/files/5726e7260bdd600fe92e6aa8694a5255dfc38d43
https://github.com/andrewbranch
andrewbranch https://github.com/andrewbranch
https://github.com/microsoft/TypeScript/pull/58811/files/5726e7260bdd600fe92e6aa8694a5255dfc38d43
https://github.com/gabritto
gabritto https://github.com/gabritto
https://github.com/navya9singh
navya9singh https://github.com/navya9singh
https://github.com/navya9singh
navya9singh https://github.com/navya9singh
For Uncommitted Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Uncommitted%20Bug%22
Assertion violation in "move to new file" https://github.com/microsoft/TypeScript/issues/58806
"Move to file" on global code unnecessarily imports/exports, generates invalid code https://github.com/microsoft/TypeScript/issues/58801
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/58811
https://github.com/a-tarasyuk
https://github.com/andrewbranch
https://github.com/DanielRosenwasser
https://github.com/typescript-bot
https://github.com/sandersn
https://github.com/navya9singh
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.