René's URL Explorer Experiment


Title: Add refactor to convert named to default export and back · Pull Request #24878 · microsoft/TypeScript · GitHub

Open Graph Title: Add refactor to convert named to default export and back · Pull Request #24878 · microsoft/TypeScript

X Title: Add refactor to convert named to default export and back · Pull Request #24878 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Add refactor to convert named to default export and back · Pull Request #24878 · microsoft/TypeScript

Open Graph Description: Fixes #19260

X Description: Fixes #19260

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

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:5449ce01-2fc8-eb4b-da42-4e63fb2c488a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id916A:21BD98:149953A:1A0D139:6B0165A6
html-safe-nonce2e8a3ef052cdcc293b83d86de28438e81eb0613c98a65b34b238b163668e6fc5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTZBOjIxQkQ5ODoxNDk5NTNBOjFBMEQxMzk6NkIwMTY1QTYiLCJ2aXNpdG9yX2lkIjoiMzM4OTUyOTA3MTU3MzYyNDIzMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdf682d62848e74552c9dfc31ef4aa412e0c3a75f67df604ff8170c4d94301f1a
hovercard-subject-tagpull_request:194118069
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/24878/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b4124e759e73e7734558682bb567098b580f477fbf8d9ec687d105817f46af9b/microsoft/TypeScript/pull/24878
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b4124e759e73e7734558682bb567098b580f477fbf8d9ec687d105817f46af9b/microsoft/TypeScript/pull/24878
og:image:altFixes #19260
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/24878#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F24878
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%2F24878
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/24878
Reloadhttps://github.com/microsoft/TypeScript/pull/24878
Reloadhttps://github.com/microsoft/TypeScript/pull/24878
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests312 (312)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
masterhttps://github.com/microsoft/TypeScript/tree/master
convertExporthttps://github.com/microsoft/TypeScript/tree/convertExport
Conversationhttps://github.com/microsoft/TypeScript/pull/24878
Commits9 (9)https://github.com/microsoft/TypeScript/pull/24878/commits
Checkshttps://github.com/microsoft/TypeScript/pull/24878/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/24878/files
Add refactor to convert named to default export and backhttps://github.com/microsoft/TypeScript/pull/24878#top
masterhttps://github.com/microsoft/TypeScript/tree/master
convertExporthttps://github.com/microsoft/TypeScript/tree/convertExport
https://github.com/ghost
Deleted user (ghost)https://github.com/ghost
Jun 11, 2018https://github.com/microsoft/TypeScript/pull/24878#issue-331369601
#19260https://github.com/microsoft/TypeScript/issues/19260
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/24878
force-pushedhttps://github.com/microsoft/TypeScript/compare/6178b760f619a85822ce039ce80205c7c244a739..98740ddc77b4e3c7e3bac93a4a259de4ed5ff852
6178b76https://github.com/microsoft/TypeScript/commit/6178b760f619a85822ce039ce80205c7c244a739
98740ddhttps://github.com/microsoft/TypeScript/commit/98740ddc77b4e3c7e3bac93a4a259de4ed5ff852
Compare https://github.com/microsoft/TypeScript/compare/6178b760f619a85822ce039ce80205c7c244a739..98740ddc77b4e3c7e3bac93a4a259de4ed5ff852
June 11, 2018 22:35https://github.com/microsoft/TypeScript/pull/24878#event-1675035674
Jun 11, 2018 https://github.com/microsoft/TypeScript/pull/24878#ref-issue-331372630
"Generate 'get' and 'set' accessors" refactor triggers on whitespace #24880 https://github.com/microsoft/TypeScript/issues/24880
force-pushedhttps://github.com/microsoft/TypeScript/compare/98740ddc77b4e3c7e3bac93a4a259de4ed5ff852..d2fdc784424bab11adcf0daa6f5977fff340754b
98740ddhttps://github.com/microsoft/TypeScript/commit/98740ddc77b4e3c7e3bac93a4a259de4ed5ff852
d2fdc78https://github.com/microsoft/TypeScript/commit/d2fdc784424bab11adcf0daa6f5977fff340754b
Compare https://github.com/microsoft/TypeScript/compare/98740ddc77b4e3c7e3bac93a4a259de4ed5ff852..d2fdc784424bab11adcf0daa6f5977fff340754b
June 11, 2018 22:37https://github.com/microsoft/TypeScript/pull/24878#event-1675038586
Add refactor to convert named to default export and backhttps://github.com/microsoft/TypeScript/pull/24878/commits/d4212576580e29f594cb118cd7b7753707b0ec02
d421257https://github.com/microsoft/TypeScript/pull/24878/commits/d4212576580e29f594cb118cd7b7753707b0ec02
Andrew Casey (amcasey)https://github.com/amcasey
June 11, 2018 22:50https://github.com/microsoft/TypeScript/pull/24878#event-1675054125
force-pushedhttps://github.com/microsoft/TypeScript/compare/d2fdc784424bab11adcf0daa6f5977fff340754b..d4212576580e29f594cb118cd7b7753707b0ec02
d2fdc78https://github.com/microsoft/TypeScript/commit/d2fdc784424bab11adcf0daa6f5977fff340754b
d421257https://github.com/microsoft/TypeScript/commit/d4212576580e29f594cb118cd7b7753707b0ec02
Compare https://github.com/microsoft/TypeScript/compare/d2fdc784424bab11adcf0daa6f5977fff340754b..d4212576580e29f594cb118cd7b7753707b0ec02
June 11, 2018 22:50https://github.com/microsoft/TypeScript/pull/24878#event-1675054188
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Jun 12, 2018 https://github.com/microsoft/TypeScript/pull/24878#pullrequestreview-128089818
View reviewed changes https://github.com/microsoft/TypeScript/pull/24878/files/d4212576580e29f594cb118cd7b7753707b0ec02
src/services/refactors/convertExport.tshttps://github.com/microsoft/TypeScript/pull/24878/files/d4212576580e29f594cb118cd7b7753707b0ec02#diff-452063e7824422df714dad139815ed8b72fe1f4d301905302087cb37d9ca416c
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Jun 12, 2018https://github.com/microsoft/TypeScript/pull/24878#discussion_r194841152
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/24878
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Jun 12, 2018 https://github.com/microsoft/TypeScript/pull/24878#pullrequestreview-128090929
View reviewed changes https://github.com/microsoft/TypeScript/pull/24878/files/d4212576580e29f594cb118cd7b7753707b0ec02
src/services/refactors/convertExport.tshttps://github.com/microsoft/TypeScript/pull/24878/files/d4212576580e29f594cb118cd7b7753707b0ec02#diff-452063e7824422df714dad139815ed8b72fe1f4d301905302087cb37d9ca416c
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Jun 12, 2018https://github.com/microsoft/TypeScript/pull/24878#discussion_r194842072
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/24878
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Jun 12, 2018https://github.com/microsoft/TypeScript/pull/24878#discussion_r194842192
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/24878
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Jun 12, 2018 https://github.com/microsoft/TypeScript/pull/24878#pullrequestreview-128091700
View reviewed changes https://github.com/microsoft/TypeScript/pull/24878/files/d4212576580e29f594cb118cd7b7753707b0ec02
src/services/refactors/convertExport.tshttps://github.com/microsoft/TypeScript/pull/24878/files/d4212576580e29f594cb118cd7b7753707b0ec02#diff-452063e7824422df714dad139815ed8b72fe1f4d301905302087cb37d9ca416c
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Jun 12, 2018https://github.com/microsoft/TypeScript/pull/24878#discussion_r194842696
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/24878
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Jun 12, 2018https://github.com/microsoft/TypeScript/pull/24878#discussion_r194843418
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/24878
Deleted user (ghost)https://github.com/ghost
Jun 14, 2018https://github.com/microsoft/TypeScript/pull/24878#discussion_r195522137
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#18628https://github.com/microsoft/TypeScript/pull/18628
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/24878
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Jun 14, 2018https://github.com/microsoft/TypeScript/pull/24878#discussion_r195537082
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/24878
Deleted user (ghost)https://github.com/ghost
Jun 14, 2018https://github.com/microsoft/TypeScript/pull/24878#discussion_r195601740
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/24878
June 14, 2018 11:30https://github.com/microsoft/TypeScript/pull/24878#commits-pushed-b75f9c0
Support ambient modulehttps://github.com/microsoft/TypeScript/pull/24878/commits/b75f9c0c5c8f5dbc31efbe3960a60e008435bcb9
b75f9c0https://github.com/microsoft/TypeScript/pull/24878/commits/b75f9c0c5c8f5dbc31efbe3960a60e008435bcb9
Merge remote-tracking branch 'origin/master' into convertExporthttps://github.com/microsoft/TypeScript/pull/24878/commits/91393e31b2efb808fa71fca62850732512bf5a17
91393e3https://github.com/microsoft/TypeScript/pull/24878/commits/91393e31b2efb808fa71fca62850732512bf5a17
Handle declaration kinds that can't be default-exportedhttps://github.com/microsoft/TypeScript/pull/24878/commits/da4cc60b0d3677569703c35ed025d2c0289e408e
da4cc60https://github.com/microsoft/TypeScript/pull/24878/commits/da4cc60b0d3677569703c35ed025d2c0289e408e
Merge branch 'master' into convertExporthttps://github.com/microsoft/TypeScript/pull/24878/commits/5cfd3dc9ee647c896caa1ca94fd5d2004a4aafb7
5cfd3dchttps://github.com/microsoft/TypeScript/pull/24878/commits/5cfd3dc9ee647c896caa1ca94fd5d2004a4aafb7
Update API (https://github.com/microsoft/TypeScript/pull/24878/commits/65b441f290d1145a2495da65844613caecb29c83
#24966https://github.com/microsoft/TypeScript/issues/24966
)https://github.com/microsoft/TypeScript/pull/24878/commits/65b441f290d1145a2495da65844613caecb29c83
65b441fhttps://github.com/microsoft/TypeScript/pull/24878/commits/65b441f290d1145a2495da65844613caecb29c83
Merge branch 'master' into convertExporthttps://github.com/microsoft/TypeScript/pull/24878/commits/3e27f4f5f88a5a2badc1cf0f86323b7701eb8a47
3e27f4fhttps://github.com/microsoft/TypeScript/pull/24878/commits/3e27f4f5f88a5a2badc1cf0f86323b7701eb8a47
Merge branch 'master' into convertExporthttps://github.com/microsoft/TypeScript/pull/24878/commits/bf5fb67a07dbd016c58f58859fa14c08d2a2da0c
bf5fb67https://github.com/microsoft/TypeScript/pull/24878/commits/bf5fb67a07dbd016c58f58859fa14c08d2a2da0c
https://github.com/ghost
Deleted user (ghost)https://github.com/ghost
Jun 18, 2018https://github.com/microsoft/TypeScript/pull/24878#issuecomment-398177050
Mohamed Hegazy (@mhegazy)https://github.com/mhegazy
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/24878
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Jun 21, 2018 https://github.com/microsoft/TypeScript/pull/24878#pullrequestreview-130957584
View reviewed changes https://github.com/microsoft/TypeScript/pull/24878/files/bf5fb67a07dbd016c58f58859fa14c08d2a2da0c
Merge branch 'master' into convertExporthttps://github.com/microsoft/TypeScript/pull/24878/commits/10a1f5cd44b6a2d8cf8a99ac461e4ff772576e1f
10a1f5chttps://github.com/microsoft/TypeScript/pull/24878/commits/10a1f5cd44b6a2d8cf8a99ac461e4ff772576e1f
806a661https://github.com/microsoft/TypeScript/commit/806a661be3e1c15b6670ed2898023adf14db3ba0
Jun 25, 2018https://github.com/microsoft/TypeScript/pull/24878#event-1699510579
June 25, 2018 17:34https://github.com/microsoft/TypeScript/pull/24878#event-1699510657
Jun 25, 2018 https://github.com/microsoft/TypeScript/pull/24878#ref-pullrequest-335514390
Fix test failure #25199 https://github.com/microsoft/TypeScript/pull/25199
https://github.com/OliverJAsh
Oliver Joseph Ash (OliverJAsh)https://github.com/OliverJAsh
Feb 2, 2021 https://github.com/microsoft/TypeScript/pull/24878#ref-issue-799226579
"Convert default export to named export" refactoring is not always available #42605 https://github.com/microsoft/TypeScript/issues/42605
https://github.com/andriyor
Andrii Oriekhov (andriyor)https://github.com/andriyor
Apr 24, 2023 https://github.com/microsoft/TypeScript/pull/24878#ref-issue-1681910069
How can i convert default export to named export dsherret/ts-morph#1406 https://github.com/dsherret/ts-morph/issues/1406
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Oct 21, 2025https://github.com/microsoft/TypeScript/pull/24878#event-20415699495
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%2F24878
https://github.com/amcasey
Andrew Casey (amcasey) https://github.com/amcasey
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/24878
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/24878
https://github.com/mhegazy
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.