| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:b2240084-c048-405f-10c3-df5fab572ce3 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 88B2:3730FD:1F79CB1:2D72ADC:6A60ABB7 |
| html-safe-nonce | b9231bc9082a99ff37e3e961fd05e6af36a9963c84a7dd444c6a9ca2387120bb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OEIyOjM3MzBGRDoxRjc5Q0IxOjJENzJBREM6NkE2MEFCQjciLCJ2aXNpdG9yX2lkIjoiMjA0NzQyOTkxMjcyMzIzNzgxNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c4a9ab6d706fd718dd35a8019b2d83bcb77c0f31515beb2e0562cae563423414 |
| hovercard-subject-tag | pull_request:2113927136 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/microsoft/TypeScript/60173/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/1cdef2f35693950e9f65553ef651e1f9464d50d1b365bcdad4674a7149b33931/microsoft/TypeScript/pull/60173 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1cdef2f35693950e9f65553ef651e1f9464d50d1b365bcdad4674a7149b33931/microsoft/TypeScript/pull/60173 |
| og:image:alt | Fixes #59799.
Fixes isGlobalType, which was added in #58811. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | iisaduan |
| hostname | github.com |
| expected-hostname | github.com |
| None | 66af895cfa11168648b21cb54f2bdc3b0587503cc95c3040344b93f2cd4f9e08 |
| turbo-cache-control | no-cache |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b2efb079bef4751afb19e51eb8a7bfb7a46dd1a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/microsoft/TypeScript/pull/60173#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F60173 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| Code QualityEnforce quality at merge | https://github.com/features/code-quality |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F60173 |
|
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 |
| Reload | https://github.com/microsoft/TypeScript/pull/60173 |
| Reload | https://github.com/microsoft/TypeScript/pull/60173 |
| Reload | https://github.com/microsoft/TypeScript/pull/60173 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/60173 |
|
microsoft
| https://github.com/microsoft |
| TypeScript | https://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
30
| 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 |
| iisaduan | https://github.com/iisaduan |
| microsoft:main | https://github.com/microsoft/TypeScript/tree/main |
| iisaduan:movetofile-global | https://github.com/iisaduan/TypeScript/tree/movetofile-global |
| Conversation | https://github.com/microsoft/TypeScript/pull/60173 |
| Commits8 (8) | https://github.com/microsoft/TypeScript/pull/60173/commits |
| Checks | https://github.com/microsoft/TypeScript/pull/60173/checks |
| Files changed | https://github.com/microsoft/TypeScript/pull/60173/files |
| moveToFile: fix check for global name resolving | https://github.com/microsoft/TypeScript/pull/60173#top |
| iisaduan | https://github.com/iisaduan |
| microsoft:main | https://github.com/microsoft/TypeScript/tree/main |
| iisaduan:movetofile-global | https://github.com/iisaduan/TypeScript/tree/movetofile-global |
|
| https://github.com/iisaduan |
| iisaduan | https://github.com/iisaduan |
| Oct 8, 2024 | https://github.com/microsoft/TypeScript/pull/60173#issue-2574230772 |
| #59799 | https://github.com/microsoft/TypeScript/issues/59799 |
| #58811 | https://github.com/microsoft/TypeScript/pull/58811 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/60173 |
| iisaduan | https://github.com/iisaduan |
| October 7, 2024 16:00 | https://github.com/microsoft/TypeScript/pull/60173#commits-pushed-a20bcb8 |
|
| https://github.com/iisaduan |
| only skip imports for symbols that may be global types if they are no… | https://github.com/microsoft/TypeScript/pull/60173/commits/a20bcb87da4d287bdb177588bdcbd1dd98ea3263 |
| a20bcb8 | https://github.com/microsoft/TypeScript/pull/60173/commits/a20bcb87da4d287bdb177588bdcbd1dd98ea3263 |
|
| https://github.com/iisaduan |
| add paste test, rename tests, fix isGlobalType | https://github.com/microsoft/TypeScript/pull/60173/commits/7112af8747533c046f7322a8fb9bb906a014ecbb |
| 7112af8 | https://github.com/microsoft/TypeScript/pull/60173/commits/7112af8747533c046f7322a8fb9bb906a014ecbb |
|
| https://github.com/iisaduan |
| fix isGlobalType again | https://github.com/microsoft/TypeScript/pull/60173/commits/9bbf9babafd16cfbf9b5f6119417b7aa65314306 |
| 9bbf9ba | https://github.com/microsoft/TypeScript/pull/60173/commits/9bbf9babafd16cfbf9b5f6119417b7aa65314306 |
| https://github.com/typescript-bot |
| typescript-bot | https://github.com/typescript-bot |
| iisaduan | https://github.com/iisaduan |
| Oct 8, 2024 | https://github.com/microsoft/TypeScript/pull/60173#event-14562995856 |
| https://github.com/typescript-bot |
| typescript-bot | https://github.com/typescript-bot |
|
Author: Team
| https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Author%3A%20Team%22 |
|
For Milestone Bug
| https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Milestone%20Bug%22 |
| Oct 8, 2024 | https://github.com/microsoft/TypeScript/pull/60173#event-14562995963 |
| https://github.com/iisaduan |
| iisaduan | https://github.com/iisaduan |
| andrewbranch | https://github.com/andrewbranch |
| gabritto | https://github.com/gabritto |
| navya9singh | https://github.com/navya9singh |
| October 8, 2024 21:19 | https://github.com/microsoft/TypeScript/pull/60173#event-14562998722 |
| https://github.com/iisaduan |
| iisaduan | https://github.com/iisaduan |
| Oct 8, 2024 | https://github.com/microsoft/TypeScript/pull/60173#issuecomment-2400995523 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/60173 |
| https://github.com/iisaduan |
| iisaduan | https://github.com/iisaduan |
| Oct 8, 2024 | https://github.com/microsoft/TypeScript/pull/60173#event-14563967287 |
| https://github.com/iisaduan |
| iisaduan | https://github.com/iisaduan |
| Oct 8, 2024 | https://github.com/microsoft/TypeScript/pull/60173#event-14563967571 |
|
| https://github.com/iisaduan |
| add test | https://github.com/microsoft/TypeScript/pull/60173/commits/5fd1bef2ea42cac367ed8489c6e135bca3e183fe |
| 5fd1bef | https://github.com/microsoft/TypeScript/pull/60173/commits/5fd1bef2ea42cac367ed8489c6e135bca3e183fe |
| https://github.com/andrewbranch |
| andrewbranch | https://github.com/andrewbranch |
|
Oct 14, 2024
| https://github.com/microsoft/TypeScript/pull/60173#pullrequestreview-2367158021 |
|
View reviewed changes
| https://github.com/microsoft/TypeScript/pull/60173/files/5fd1bef2ea42cac367ed8489c6e135bca3e183fe |
| src/services/refactors/moveToFile.ts | https://github.com/microsoft/TypeScript/pull/60173/files/5fd1bef2ea42cac367ed8489c6e135bca3e183fe#diff-9fd1565ec50d1dc61c5267c87fd4d9436b74a6a41a6dccdac0660bcb2ae85e9c |
| andrewbranch | https://github.com/andrewbranch |
| Oct 14, 2024 | https://github.com/microsoft/TypeScript/pull/60173#discussion_r1799812783 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/60173 |
| iisaduan | https://github.com/iisaduan |
| Oct 14, 2024 | https://github.com/microsoft/TypeScript/pull/60173#discussion_r1799910332 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/60173 |
| andrewbranch | https://github.com/andrewbranch |
| Oct 14, 2024 | https://github.com/microsoft/TypeScript/pull/60173#discussion_r1799920893 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/60173 |
| iisaduan | https://github.com/iisaduan |
| Oct 14, 2024 | https://github.com/microsoft/TypeScript/pull/60173#discussion_r1799961078 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @navya9singh | https://github.com/navya9singh |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/60173 |
| DanielRosenwasser | https://github.com/DanielRosenwasser |
| Oct 14, 2024 | https://github.com/microsoft/TypeScript/pull/60173#discussion_r1800221856 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/60173 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @andrewbranch | https://github.com/andrewbranch |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/60173 |
| andrewbranch | https://github.com/andrewbranch |
| Oct 15, 2024 | https://github.com/microsoft/TypeScript/pull/60173#discussion_r1800253008 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/60173 |
| iisaduan | https://github.com/iisaduan |
| Oct 15, 2024 | https://github.com/microsoft/TypeScript/pull/60173#discussion_r1800260126 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/60173 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @DanielRosenwasser | https://github.com/DanielRosenwasser |
| @andrewbranch | https://github.com/andrewbranch |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/60173 |
| iisaduan | https://github.com/iisaduan |
| October 14, 2024 12:00 | https://github.com/microsoft/TypeScript/pull/60173#commits-pushed-38b06af |
|
| https://github.com/iisaduan |
| add test | https://github.com/microsoft/TypeScript/pull/60173/commits/38b06af685748c0fc0f6f16dfbec1d253bc40692 |
| 38b06af | https://github.com/microsoft/TypeScript/pull/60173/commits/38b06af685748c0fc0f6f16dfbec1d253bc40692 |
|
| https://github.com/iisaduan |
| Merge branch 'main' of | https://github.com/microsoft/TypeScript/pull/60173/commits/4e9562c06bed98223d7543d611a11d9dcd955480 |
| https://github.com/iisaduan/TypeScript | https://github.com/iisaduan/TypeScript |
| into mo… | https://github.com/microsoft/TypeScript/pull/60173/commits/4e9562c06bed98223d7543d611a11d9dcd955480 |
| 4e9562c | https://github.com/microsoft/TypeScript/pull/60173/commits/4e9562c06bed98223d7543d611a11d9dcd955480 |
|
| https://github.com/iisaduan |
| update tests for improved quote behaviors | https://github.com/microsoft/TypeScript/pull/60173/commits/a8f8da01e31a4a3e132f81807d490a18f274864b |
| a8f8da0 | https://github.com/microsoft/TypeScript/pull/60173/commits/a8f8da01e31a4a3e132f81807d490a18f274864b |
|
| https://github.com/iisaduan |
| make sure resolved symbol is same symbol | https://github.com/microsoft/TypeScript/pull/60173/commits/58118b201d99be3c80305b90a88d7cc580267851 |
| 58118b2 | https://github.com/microsoft/TypeScript/pull/60173/commits/58118b201d99be3c80305b90a88d7cc580267851 |
| https://github.com/iisaduan |
| iisaduan | https://github.com/iisaduan |
|
Nov 7, 2024
| https://github.com/microsoft/TypeScript/pull/60173#ref-pullrequest-2632822119 |
|
Allow imports with the same names as global types to be moved by refactoring
#60410
| https://github.com/microsoft/TypeScript/pull/60410 |
| https://github.com/andrewbranch |
| andrewbranch | https://github.com/andrewbranch |
|
Nov 7, 2024
| https://github.com/microsoft/TypeScript/pull/60173#ref-pullrequest-2641938709 |
|
Move to file: fix detection of references to globals that shouldn't be moved
#60450
| https://github.com/microsoft/TypeScript/pull/60450 |
| https://github.com/typescript-bot |
| typescript-bot | https://github.com/typescript-bot |
|
Fix Available
| https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fix%20Available%22 |
| Nov 7, 2024 | https://github.com/microsoft/TypeScript/pull/60173#event-15190481398 |
| https://github.com/andrewbranch |
| andrewbranch | https://github.com/andrewbranch |
|
#60450
| https://github.com/microsoft/TypeScript/pull/60450 |
| Nov 15, 2024 | https://github.com/microsoft/TypeScript/pull/60173#event-15318516663 |
| https://github.com/sandersn |
| sandersn | https://github.com/sandersn |
| PR Backlog | https://github.com/orgs/microsoft/projects/1252 |
| Apr 22, 2025 | https://github.com/microsoft/TypeScript/pull/60173#event-17355454131 |
| https://github.com/microsoft |
| microsoft | https://github.com/microsoft |
| Oct 16, 2025 | https://github.com/microsoft/TypeScript/pull/60173#event-20309761608 |
| https://github.co/hiddenchars |
| https://github.com/microsoft/TypeScript/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F60173 |
|
| https://github.com/DanielRosenwasser |
|
DanielRosenwasser
| https://github.com/DanielRosenwasser |
|
| https://github.com/microsoft/TypeScript/pull/60173/files/a8f8da01e31a4a3e132f81807d490a18f274864b |
|
| https://github.com/andrewbranch |
|
andrewbranch
| https://github.com/andrewbranch |
|
| https://github.com/microsoft/TypeScript/pull/60173/files/5fd1bef2ea42cac367ed8489c6e135bca3e183fe |
|
| https://github.com/gabritto |
|
gabritto
| https://github.com/gabritto |
|
| https://github.com/navya9singh |
|
navya9singh
| https://github.com/navya9singh |
|
| https://github.com/iisaduan |
|
iisaduan
| https://github.com/iisaduan |
|
Author: Team
| https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Author%3A%20Team%22 |
|
Fix Available
| https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fix%20Available%22 |
|
For Milestone Bug
| https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Milestone%20Bug%22 |
|
Import named Disposable is not moved when moving code to another file
| https://github.com/microsoft/TypeScript/issues/59799 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/60173 |
|
| https://github.com/iisaduan |
|
| https://github.com/DanielRosenwasser |
|
| https://github.com/andrewbranch |
|
| https://github.com/sandersn |
|
| https://github.com/typescript-bot |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |