René's URL Explorer Experiment


Title: `module.exports = Entity` is an alias, just like `export = Entity` by sandersn · Pull Request #23570 · microsoft/TypeScript · GitHub

Open Graph Title: `module.exports = Entity` is an alias, just like `export = Entity` by sandersn · Pull Request #23570 · microsoft/TypeScript

X Title: `module.exports = Entity` is an alias, just like `export = Entity` by sandersn · Pull Request #23570 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - `module.exports = Entity` is an alias, just like `export = Entity` by sandersn · Pull Request #23570 · microsoft/TypeScript

Open Graph Description: module.exports = Entity should create an alias the same way that export = Entity does in typescript. Doing this allows the type of a class to resolve correctly, for example. The PR has a couple of ...

X Description: module.exports = Entity should create an alias the same way that export = Entity does in typescript. Doing this allows the type of a class to resolve correctly, for example. The PR has a couple of ...

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

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:4e48b400-c287-9e3e-cc2c-eb56e115cc56
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEA74:24645:2F8644:3EA6F7:6B018FFB
html-safe-noncee9a8685e399735f54cee6762754e4641dd75b322777277c1ec27fae21e0ddc5f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTc0OjI0NjQ1OjJGODY0NDozRUE2Rjc6NkIwMThGRkIiLCJ2aXNpdG9yX2lkIjoiMTI3OTA4Mzc0NDA2NTU4OTI0MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca2a0cfb2eb1c5f92c0c5af9af52e0cccfb61bfe4234ab6cafc7612769f58d471
hovercard-subject-tagpull_request:183113153
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/23570/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c1f6899ad14d0563a18b6758757540a38b46404f987393de895ee185a23759af/microsoft/TypeScript/pull/23570
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c1f6899ad14d0563a18b6758757540a38b46404f987393de895ee185a23759af/microsoft/TypeScript/pull/23570
og:image:altmodule.exports = Entity should create an alias the same way that export = Entity does in typescript. Doing this allows the type of a class to resolve correctly, for example. The PR has a couple of ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesandersn
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/23570#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F23570
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%2F23570
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/23570
Reloadhttps://github.com/microsoft/TypeScript/pull/23570
Reloadhttps://github.com/microsoft/TypeScript/pull/23570
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
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
masterhttps://github.com/microsoft/TypeScript/tree/master
js/module-exports-is-aliashttps://github.com/microsoft/TypeScript/tree/js/module-exports-is-alias
Conversationhttps://github.com/microsoft/TypeScript/pull/23570
Commits11 (11)https://github.com/microsoft/TypeScript/pull/23570/commits
Checkshttps://github.com/microsoft/TypeScript/pull/23570/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/23570/files
module.exports = Entity is an alias, just like export = Entityhttps://github.com/microsoft/TypeScript/pull/23570#top
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
masterhttps://github.com/microsoft/TypeScript/tree/master
js/module-exports-is-aliashttps://github.com/microsoft/TypeScript/tree/js/module-exports-is-alias
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Apr 20, 2018https://github.com/microsoft/TypeScript/pull/23570#issue-316335145
#23375https://github.com/microsoft/TypeScript/issues/23375
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/23570
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
April 19, 2018 11:06https://github.com/microsoft/TypeScript/pull/23570#commits-pushed-d2c86e4
https://github.com/sandersn
Make module.export = an alias like export= ishttps://github.com/microsoft/TypeScript/pull/23570/commits/d2c86e44249f98fd35f8f7c7f00fcd5664fe8c7f
d2c86e4https://github.com/microsoft/TypeScript/pull/23570/commits/d2c86e44249f98fd35f8f7c7f00fcd5664fe8c7f
https://github.com/sandersn
Basically fixes all the breaks, but needs cleanuphttps://github.com/microsoft/TypeScript/pull/23570/commits/5af0c77ad1d87ee936f5cb594c38f05877f8b2f2
5af0c77https://github.com/microsoft/TypeScript/pull/23570/commits/5af0c77ad1d87ee936f5cb594c38f05877f8b2f2
https://github.com/sandersn
More notes to myselfhttps://github.com/microsoft/TypeScript/pull/23570/commits/e27680c2e3c346759dbcd9bb47546bbd7f005c94
e27680chttps://github.com/microsoft/TypeScript/pull/23570/commits/e27680c2e3c346759dbcd9bb47546bbd7f005c94
https://github.com/sandersn
Clean up TODOshttps://github.com/microsoft/TypeScript/pull/23570/commits/bfaa38db107d4e8fa68c007f7c4c173d94341f2e
bfaa38dhttps://github.com/microsoft/TypeScript/pull/23570/commits/bfaa38db107d4e8fa68c007f7c4c173d94341f2e
https://github.com/sandersn
Call mergeSymbolTable and delete export= afterwardhttps://github.com/microsoft/TypeScript/pull/23570/commits/9061184c26d01c6ef0876393d9a7248985aef9a6
9061184https://github.com/microsoft/TypeScript/pull/23570/commits/9061184c26d01c6ef0876393d9a7248985aef9a6
https://github.com/sandersn
More cleanuphttps://github.com/microsoft/TypeScript/pull/23570/commits/7dd3b6cebdd528a50c9b7f47433de54aa179930c
7dd3b6chttps://github.com/microsoft/TypeScript/pull/23570/commits/7dd3b6cebdd528a50c9b7f47433de54aa179930c
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Wesley Wigham (weswigham)https://github.com/weswigham
April 20, 2018 16:34https://github.com/microsoft/TypeScript/pull/23570#event-1586571299
https://github.com/sandersn
Merge branch 'master' into js/module-exports-is-aliashttps://github.com/microsoft/TypeScript/pull/23570/commits/c2e2921bb399d488fcb4a4dd0100e886a39d3528
c2e2921https://github.com/microsoft/TypeScript/pull/23570/commits/c2e2921bb399d488fcb4a4dd0100e886a39d3528
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Apr 20, 2018 https://github.com/microsoft/TypeScript/pull/23570#pullrequestreview-114068019
View reviewed changes https://github.com/microsoft/TypeScript/pull/23570/files/c2e2921bb399d488fcb4a4dd0100e886a39d3528
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/23570/files/c2e2921bb399d488fcb4a4dd0100e886a39d3528#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Wesley Wigham (weswigham)https://github.com/weswigham
Apr 20, 2018https://github.com/microsoft/TypeScript/pull/23570#discussion_r183123520
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/23570
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Apr 20, 2018https://github.com/microsoft/TypeScript/pull/23570#discussion_r183124869
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/23570
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Apr 20, 2018 https://github.com/microsoft/TypeScript/pull/23570#pullrequestreview-114068835
View reviewed changes https://github.com/microsoft/TypeScript/pull/23570/files/c2e2921bb399d488fcb4a4dd0100e886a39d3528
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/23570/files/c2e2921bb399d488fcb4a4dd0100e886a39d3528#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Wesley Wigham (weswigham)https://github.com/weswigham
Apr 20, 2018https://github.com/microsoft/TypeScript/pull/23570#discussion_r183124131
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/23570
Wesley Wigham (weswigham)https://github.com/weswigham
Apr 20, 2018https://github.com/microsoft/TypeScript/pull/23570#discussion_r183124591
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/23570
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Apr 20, 2018https://github.com/microsoft/TypeScript/pull/23570#discussion_r183125808
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/23570
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Apr 23, 2018https://github.com/microsoft/TypeScript/pull/23570#discussion_r183443899
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#23228https://github.com/microsoft/TypeScript/pull/23228
webpack/webpack#7031https://github.com/webpack/webpack/pull/7031
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/23570
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Apr 23, 2018https://github.com/microsoft/TypeScript/pull/23570#discussion_r183456089
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/23570
https://github.com/sandersn
Remove unnecessary check in import type checkinghttps://github.com/microsoft/TypeScript/pull/23570/commits/465056a0699726786f186f4bb52463c49af2a83e
465056ahttps://github.com/microsoft/TypeScript/pull/23570/commits/465056a0699726786f186f4bb52463c49af2a83e
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Apr 20, 2018 https://github.com/microsoft/TypeScript/pull/23570#ref-issue-300941129
Find All Reference from requiring file to module file works only if not default CommonJS exports #22222 https://github.com/microsoft/TypeScript/issues/22222
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Apr 23, 2018 https://github.com/microsoft/TypeScript/pull/23570#ref-pullrequest-313929149
feat(chunk): add chunk typing support webpack/webpack#7031 https://github.com/webpack/webpack/pull/7031
https://github.com/sandersn
Revert to DIY code.https://github.com/microsoft/TypeScript/pull/23570/commits/6ff110d9edf9677097907639d8fee84c220ead3f
6ff110dhttps://github.com/microsoft/TypeScript/pull/23570/commits/6ff110d9edf9677097907639d8fee84c220ead3f
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Apr 23, 2018https://github.com/microsoft/TypeScript/pull/23570#issuecomment-383653106
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/23570
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Apr 23, 2018https://github.com/microsoft/TypeScript/pull/23570#issuecomment-383654664
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/23570
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Apr 23, 2018https://github.com/microsoft/TypeScript/pull/23570#issuecomment-383654685
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/23570
Nathan Shively-Sanders (@sandersn)https://github.com/sandersn
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/23570
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Apr 23, 2018https://github.com/microsoft/TypeScript/pull/23570#issuecomment-383655353
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/23570
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Apr 23, 2018https://github.com/microsoft/TypeScript/pull/23570#issuecomment-383657144
Nathan Shively-Sanders (@sandersn)https://github.com/sandersn
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/23570
https://github.com/sandersn
Exported class expressions can be used as typehttps://github.com/microsoft/TypeScript/pull/23570/commits/deb1e610c7b36d3dbea988f978fd0acccc6f64d1
deb1e61https://github.com/microsoft/TypeScript/pull/23570/commits/deb1e610c7b36d3dbea988f978fd0acccc6f64d1
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Apr 23, 2018https://github.com/microsoft/TypeScript/pull/23570#issuecomment-383732800
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/23570
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Apr 23, 2018 https://github.com/microsoft/TypeScript/pull/23570#pullrequestreview-114571119
View reviewed changes https://github.com/microsoft/TypeScript/pull/23570/files/deb1e610c7b36d3dbea988f978fd0acccc6f64d1
Wesley Wigham (weswigham)https://github.com/weswigham
https://github.com/microsoft/TypeScript/pull/23570#pullrequestreview-114571119
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/23570
https://github.com/sandersn
Do not require named class expressionshttps://github.com/microsoft/TypeScript/pull/23570/commits/7861de6240ed2d1154535ddd3cfcb22e612776fc
7861de6https://github.com/microsoft/TypeScript/pull/23570/commits/7861de6240ed2d1154535ddd3cfcb22e612776fc
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Apr 23, 2018https://github.com/microsoft/TypeScript/pull/23570#issuecomment-383738892
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/23570
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
905f9a0https://github.com/microsoft/TypeScript/commit/905f9a02ad17da9e18c4cbeeee81eee7b1928ca7
Apr 23, 2018https://github.com/microsoft/TypeScript/pull/23570#event-1590293852
May 1, 2018 19:38https://github.com/microsoft/TypeScript/pull/23570#event-1604012524
May 1, 2018 https://github.com/microsoft/TypeScript/pull/23570#ref-issue-318530669
Different definition behavior for import vs require #23742 https://github.com/microsoft/TypeScript/issues/23742
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Jul 31, 2018https://github.com/microsoft/TypeScript/pull/23570#event-1763322790
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%2F23570
https://github.com/weswigham
Wesley Wigham (weswigham) https://github.com/weswigham
https://github.com/microsoft/TypeScript/pull/23570/files/deb1e610c7b36d3dbea988f978fd0acccc6f64d1
https://github.com/mhegazy
Mohamed Hegazy (mhegazy) https://github.com/mhegazy
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/23570
Support @typedef importing a CommonJS default exported class as type into another file https://github.com/microsoft/TypeScript/issues/23375
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/23570
https://github.com/sandersn
https://github.com/weswigham
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.