| 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:7191afcc-2e20-9ab7-e8a5-8e96afb150ba |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 827C:32CCF0:8A1272:C673FB:6A5F771F |
| html-safe-nonce | 4982c77e23e212e3c949302fa87d3c402694b6b7d11531fceb8e0925ce1fb8cc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MjdDOjMyQ0NGMDo4QTEyNzI6QzY3M0ZCOjZBNUY3NzFGIiwidmlzaXRvcl9pZCI6IjgxOTEzNTczNTk1MTgzNDkwODciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 28d570970ed2ca48e94ce8bfc998e94d5ebffdf35405d6f8fe8d817d9ade3efd |
| hovercard-subject-tag | pull_request:2142319807 |
| 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/60333/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/1cdef2f35693950e9f65553ef651e1f9464d50d1b365bcdad4674a7149b33931/microsoft/TypeScript/pull/60333 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1cdef2f35693950e9f65553ef651e1f9464d50d1b365bcdad4674a7149b33931/microsoft/TypeScript/pull/60333 |
| og:image:alt | MoveToFile, MoveToNewFile, PasteEdits, and related refactors would crash due to autoimports being unable to resolve where module symbols should be imported from.
This PR adds an importAdder functio... |
| 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 | 452de97a03b38f04f76083e607149d32906d2c0b7b8eefeb40f6abb19033123d |
| 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 | 04b6e0d7b342a002446f33418e84ead364c16c2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/microsoft/TypeScript/pull/60333#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F60333 |
| 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%2F60333 |
|
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/60333 |
| Reload | https://github.com/microsoft/TypeScript/pull/60333 |
| Reload | https://github.com/microsoft/TypeScript/pull/60333 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/60333 |
|
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
29
| 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-generateModuleImport | https://github.com/iisaduan/TypeScript/tree/moveToFile-generateModuleImport |
| Conversation | https://github.com/microsoft/TypeScript/pull/60333 |
| Commits8 (8) | https://github.com/microsoft/TypeScript/pull/60333/commits |
| Checks | https://github.com/microsoft/TypeScript/pull/60333/checks |
| Files changed | https://github.com/microsoft/TypeScript/pull/60333/files |
| fix autoimports crash: generate namespace and other module symbol imports | https://github.com/microsoft/TypeScript/pull/60333#top |
| iisaduan | https://github.com/iisaduan |
| microsoft:main | https://github.com/microsoft/TypeScript/tree/main |
| iisaduan:moveToFile-generateModuleImport | https://github.com/iisaduan/TypeScript/tree/moveToFile-generateModuleImport |
|
| https://github.com/iisaduan |
| iisaduan | https://github.com/iisaduan |
| Oct 23, 2024 | https://github.com/microsoft/TypeScript/pull/60333#issue-2610065620 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/60333 |
| #58740 | https://github.com/microsoft/TypeScript/issues/58740 |
| #59240 (comment) | https://github.com/microsoft/TypeScript/issues/59240#issuecomment-2224079385 |
| #59284 | https://github.com/microsoft/TypeScript/issues/59284 |
| #59650 | https://github.com/microsoft/TypeScript/issues/59650 |
| #59651 | https://github.com/microsoft/TypeScript/issues/59651 |
| #59701 | https://github.com/microsoft/TypeScript/issues/59701 |
| #59747 | https://github.com/microsoft/TypeScript/issues/59747 |
| #58897 | https://github.com/microsoft/TypeScript/issues/58897 |
| #59004 | https://github.com/microsoft/TypeScript/pull/59004 |
| #59447 | https://github.com/microsoft/TypeScript/pull/59447 |
| #60302 | https://github.com/microsoft/TypeScript/pull/60302 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/60333 |
| iisaduan | https://github.com/iisaduan |
| October 14, 2024 15:55 | https://github.com/microsoft/TypeScript/pull/60333#commits-pushed-616c423 |
|
| https://github.com/iisaduan |
| fix moveToNewFIle | https://github.com/microsoft/TypeScript/pull/60333/commits/616c423e41c70e61eef45c1a423aa1dd2cc2231d |
| 616c423 | https://github.com/microsoft/TypeScript/pull/60333/commits/616c423e41c70e61eef45c1a423aa1dd2cc2231d |
|
| https://github.com/iisaduan |
| Merge branch 'main' of | https://github.com/microsoft/TypeScript/pull/60333/commits/12618007cfe35e536fc83b398b236629db8f751c |
| https://github.com/microsoft/TypeScript | https://github.com/microsoft/TypeScript |
| into m… | https://github.com/microsoft/TypeScript/pull/60333/commits/12618007cfe35e536fc83b398b236629db8f751c |
| 1261800 | https://github.com/microsoft/TypeScript/pull/60333/commits/12618007cfe35e536fc83b398b236629db8f751c |
|
| https://github.com/iisaduan |
| paste edits server tests | https://github.com/microsoft/TypeScript/pull/60333/commits/1c1a88e8cc8432f10d1b64399d0c124b210ba5ff |
| 1c1a88e | https://github.com/microsoft/TypeScript/pull/60333/commits/1c1a88e8cc8432f10d1b64399d0c124b210ba5ff |
|
| https://github.com/iisaduan |
| fix comments | https://github.com/microsoft/TypeScript/pull/60333/commits/03ffc581f45ff33c14e97a9557b36d3783279058 |
| 03ffc58 | https://github.com/microsoft/TypeScript/pull/60333/commits/03ffc581f45ff33c14e97a9557b36d3783279058 |
|
| https://github.com/iisaduan |
| add test | https://github.com/microsoft/TypeScript/pull/60333/commits/90e89e65ef92a7694cfe10138740fa5eee947b7e |
| 90e89e6 | https://github.com/microsoft/TypeScript/pull/60333/commits/90e89e65ef92a7694cfe10138740fa5eee947b7e |
|
| https://github.com/iisaduan |
| add test | https://github.com/microsoft/TypeScript/pull/60333/commits/3ca07d106ad8f525fb690046a58efa6886807cb3 |
| 3ca07d1 | https://github.com/microsoft/TypeScript/pull/60333/commits/3ca07d106ad8f525fb690046a58efa6886807cb3 |
|
| https://github.com/iisaduan |
| use exportinfo | https://github.com/microsoft/TypeScript/pull/60333/commits/a20c2bb8d3480dc9cc23b892399a88e8573c6864 |
| a20c2bb | https://github.com/microsoft/TypeScript/pull/60333/commits/a20c2bb8d3480dc9cc23b892399a88e8573c6864 |
| https://github.com/iisaduan |
| iisaduan | https://github.com/iisaduan |
| andrewbranch | https://github.com/andrewbranch |
| navya9singh | https://github.com/navya9singh |
| October 23, 2024 23:55 | https://github.com/microsoft/TypeScript/pull/60333#event-14834079844 |
|
refactor: New file generates import from wrong module specifier
#58897
| https://github.com/microsoft/TypeScript/issues/58897 |
|
TS Server Error Debug Failure when moving to a js file
#59240
| https://github.com/microsoft/TypeScript/issues/59240 |
| https://github.com/navya9singh |
| navya9singh | https://github.com/navya9singh |
|
Oct 24, 2024
| https://github.com/microsoft/TypeScript/pull/60333#pullrequestreview-2393578669 |
|
View reviewed changes
| https://github.com/microsoft/TypeScript/pull/60333/files/a20c2bb8d3480dc9cc23b892399a88e8573c6864 |
| src/services/refactors/helpers.ts | https://github.com/microsoft/TypeScript/pull/60333/files/a20c2bb8d3480dc9cc23b892399a88e8573c6864#diff-abd97751406b5a792f969a9a42c7658e33a46ab25cd6b79eb4b7bf19bc4c76e5 |
| navya9singh | https://github.com/navya9singh |
| Oct 24, 2024 | https://github.com/microsoft/TypeScript/pull/60333#discussion_r1815615584 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/60333 |
| iisaduan | https://github.com/iisaduan |
| Oct 24, 2024 | https://github.com/microsoft/TypeScript/pull/60333#discussion_r1815707870 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/60333 |
| iisaduan | https://github.com/iisaduan |
| Oct 24, 2024 | https://github.com/microsoft/TypeScript/pull/60333#discussion_r1815715248 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/60333 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/60333 |
| https://github.com/navya9singh |
| navya9singh | https://github.com/navya9singh |
|
Oct 24, 2024
| https://github.com/microsoft/TypeScript/pull/60333#pullrequestreview-2393582307 |
|
View reviewed changes
| https://github.com/microsoft/TypeScript/pull/60333/files/a20c2bb8d3480dc9cc23b892399a88e8573c6864 |
| tests/cases/fourslash/server/pasteEdits_namespaceImport.ts | https://github.com/microsoft/TypeScript/pull/60333/files/a20c2bb8d3480dc9cc23b892399a88e8573c6864#diff-34d858d1b4f5d4a1e0572d4b92967f89ee4f0cd29a67b500f9747987ccb90234 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/60333 |
|
| https://github.com/iisaduan |
| fix test | https://github.com/microsoft/TypeScript/pull/60333/commits/21a65986e2e01431c4d4bfaa7194bf79b6546736 |
| 21a6598 | https://github.com/microsoft/TypeScript/pull/60333/commits/21a65986e2e01431c4d4bfaa7194bf79b6546736 |
| https://github.com/andrewbranch |
| andrewbranch | https://github.com/andrewbranch |
|
Oct 31, 2024
| https://github.com/microsoft/TypeScript/pull/60333#pullrequestreview-2409263898 |
|
View reviewed changes
| https://github.com/microsoft/TypeScript/pull/60333/files/21a65986e2e01431c4d4bfaa7194bf79b6546736 |
| src/services/codefixes/importFixes.ts | https://github.com/microsoft/TypeScript/pull/60333/files/21a65986e2e01431c4d4bfaa7194bf79b6546736#diff-5028f517f8a294750ab440acf45a4845b9ae4e0e2f58293808d15adc469bbe23 |
| andrewbranch | https://github.com/andrewbranch |
| Oct 31, 2024 | https://github.com/microsoft/TypeScript/pull/60333#discussion_r1825286724 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/60333 |
| iisaduan | https://github.com/iisaduan |
| Nov 1, 2024 | https://github.com/microsoft/TypeScript/pull/60333#discussion_r1825293407 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| #60333 (comment) | https://github.com/microsoft/TypeScript/pull/60333#issue-2610065620 |
| #59240 (comment) | https://github.com/microsoft/TypeScript/issues/59240#issuecomment-2224079385 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/60333 |
| https://github.com/iisaduan |
| iisaduan | https://github.com/iisaduan |
| 3e61718 | https://github.com/microsoft/TypeScript/commit/3e6171833e6d8481626b56a7de09ea03092fadf2 |
| Nov 1, 2024 | https://github.com/microsoft/TypeScript/pull/60333#event-15051202017 |
| https://github.com/iisaduan |
| iisaduan | https://github.com/iisaduan |
| November 1, 2024 00:03 | https://github.com/microsoft/TypeScript/pull/60333#event-15051203631 |
| https://github.com/CGNonofr |
| CGNonofr | https://github.com/CGNonofr |
|
Nov 4, 2024
| https://github.com/microsoft/TypeScript/pull/60333#ref-issue-2632506917 |
|
"Move to a new file" refactor was recently broken for some import names
#60408
| https://github.com/microsoft/TypeScript/issues/60408 |
| https://github.com/nayeemrmn |
| nayeemrmn | https://github.com/nayeemrmn |
|
Jan 22, 2025
| https://github.com/microsoft/TypeScript/pull/60333#ref-pullrequest-2804796540 |
|
fix(lsp): silence debug error for 'move to a new file' action
denoland/deno#27780
| https://github.com/denoland/deno/pull/27780 |
| 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/60333#event-17355457206 |
| https://github.com/microsoft |
| microsoft | https://github.com/microsoft |
| Oct 16, 2025 | https://github.com/microsoft/TypeScript/pull/60333#event-20309761632 |
| 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%2F60333 |
|
| https://github.com/navya9singh |
|
navya9singh
| https://github.com/navya9singh |
|
| https://github.com/microsoft/TypeScript/pull/60333/files/a20c2bb8d3480dc9cc23b892399a88e8573c6864 |
|
| https://github.com/andrewbranch |
|
andrewbranch
| https://github.com/andrewbranch |
|
| https://github.com/microsoft/TypeScript/pull/60333/files/21a65986e2e01431c4d4bfaa7194bf79b6546736 |
|
typescript Move to a new file doesn't work when namespace import react
| https://github.com/microsoft/TypeScript/issues/59651 |
|
Refactor: move to new file does not work
| https://github.com/microsoft/TypeScript/issues/59650 |
|
TS error moving a function to another file
| https://github.com/microsoft/TypeScript/issues/59284 |
|
TS Server Error Debug Failure when moving to a js file
| https://github.com/microsoft/TypeScript/issues/59240 |
|
Debug failure on paste with imports
| https://github.com/microsoft/TypeScript/issues/58740 |
|
Assertion failure when move-to-file code contains entities from ambient module
| https://github.com/microsoft/TypeScript/issues/59701 |
|
Cannot Move React Class Component To New File
| https://github.com/microsoft/TypeScript/issues/59747 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/60333 |
|
| https://github.com/iisaduan |
|
| https://github.com/andrewbranch |
|
| https://github.com/navya9singh |
|
| https://github.com/sandersn |
|
| 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 |