René's URL Explorer Experiment


Title: Allow an import of "foo.js" to be matched by a file "foo.ts" · Pull Request #8895 · microsoft/TypeScript · GitHub

Open Graph Title: Allow an import of "foo.js" to be matched by a file "foo.ts" · Pull Request #8895 · microsoft/TypeScript

X Title: Allow an import of "foo.js" to be matched by a file "foo.ts" · Pull Request #8895 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Allow an import of "foo.js" to be matched by a file "foo.ts" · Pull Request #8895 · microsoft/TypeScript

Open Graph Description: Fixes #4595

X Description: Fixes #4595

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3

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:268e427f-3c2a-d647-ad31-15098f0f25ff
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC176:29272F:B2E8D1:F284A6:6B048592
html-safe-noncee6676f6ded12c16702b378b54a4e8c5b7c7740465dc6cb955ffd6cfa781fd82d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTc2OjI5MjcyRjpCMkU4RDE6RjI4NEE2OjZCMDQ4NTkyIiwidmlzaXRvcl9pZCI6IjExMDI4ODkyNjQ4Njc0NzY4ODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacef24d26f45ebe1697eb6d3ac4b2d4e4f844c4901e13f236fc111d61352a113cc
hovercard-subject-tagpull_request:72046014
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/8895/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ecadc65cf9817b9887af4c01d59b9c09f757e90f3deee4c6f04f639020b5d7dc/microsoft/TypeScript/pull/8895
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ecadc65cf9817b9887af4c01d59b9c09f757e90f3deee4c6f04f639020b5d7dc/microsoft/TypeScript/pull/8895
og:image:altFixes #4595
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None1d5c152376e38b7d2e37f3d5179be29a73bee93b85110da28a4eebe1159cdc70
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
releasef5017e8ff4ea25a8011fcf0f2a0e430c60dc86c8
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/8895#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F8895
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%2F8895
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/8895
Reloadhttps://github.com/microsoft/TypeScript/pull/8895
Reloadhttps://github.com/microsoft/TypeScript/pull/8895
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests318 (318)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
strip_extensionhttps://github.com/microsoft/TypeScript/tree/strip_extension
Conversationhttps://github.com/microsoft/TypeScript/pull/8895
Commits8 (8)https://github.com/microsoft/TypeScript/pull/8895/commits
Checkshttps://github.com/microsoft/TypeScript/pull/8895/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/8895/files
Allow an import of "foo.js" to be matched by a file "foo.ts"https://github.com/microsoft/TypeScript/pull/8895#top
masterhttps://github.com/microsoft/TypeScript/tree/master
strip_extensionhttps://github.com/microsoft/TypeScript/tree/strip_extension
https://github.com/ghost
Deleted user (ghost)https://github.com/ghost
May 31, 2016https://github.com/microsoft/TypeScript/pull/8895#issue-157714396
#4595https://github.com/microsoft/TypeScript/issues/4595
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8895
Allow an import of "foo.js" to be matched by a file "foo.ts"https://github.com/microsoft/TypeScript/pull/8895/commits/fa16a99514e53e97cb2ea95269ba71964c604d03
fa16a99https://github.com/microsoft/TypeScript/pull/8895/commits/fa16a99514e53e97cb2ea95269ba71964c604d03
https://github.com/msftclas
Microsoft Contribution License Agreements (msftclas)https://github.com/msftclas
May 31, 2016https://github.com/microsoft/TypeScript/pull/8895#issuecomment-222743312
Andy (Andrewkraft) (@Andy-MS)https://github.com/Andy-MS
https://cla.microsoft.comhttps://cla.microsoft.com
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8895
https://github.com/msftclas
Microsoft Contribution License Agreements (msftclas)https://github.com/msftclas
cla-not-required https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3Acla-not-required
May 31, 2016https://github.com/microsoft/TypeScript/pull/8895#event-677261003
DanielRosenwasserhttps://github.com/DanielRosenwasser
May 31, 2016 https://github.com/microsoft/TypeScript/pull/8895#discussion-diff-65222268
View reviewed changes https://github.com/microsoft/TypeScript/pull/8895/files/fa16a99514e53e97cb2ea95269ba71964c604d03#diff-dbfa0e7f632eca196a5ee0e08e00743c46c03799e2704206cfccc065bb6f9e3a
src/compiler/program.tshttps://github.com/microsoft/TypeScript/pull/8895/files#diff-dbfa0e7f632eca196a5ee0e08e00743c46c03799e2704206cfccc065bb6f9e3a
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
May 31, 2016https://github.com/microsoft/TypeScript/pull/8895#discussion_r65222268
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8895
Deleted user (ghost)https://github.com/ghost
May 31, 2016https://github.com/microsoft/TypeScript/pull/8895#discussion_r65223530
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8895
Deleted user (ghost)https://github.com/ghost
May 31, 2016https://github.com/microsoft/TypeScript/pull/8895#discussion_r65223655
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8895
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
May 31, 2016https://github.com/microsoft/TypeScript/pull/8895#discussion_r65226330
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8895
Improve loadModuleFromFile codehttps://github.com/microsoft/TypeScript/pull/8895/commits/a0546a9310aa18a097fa8edb5276dc0c16fedfc2
a0546a9https://github.com/microsoft/TypeScript/pull/8895/commits/a0546a9310aa18a097fa8edb5276dc0c16fedfc2
force-pushedhttps://github.com/microsoft/TypeScript/compare/3cd506a64c767f53991995de633670869a30b5b5..a0546a9310aa18a097fa8edb5276dc0c16fedfc2
3cd506ahttps://github.com/microsoft/TypeScript/commit/3cd506a64c767f53991995de633670869a30b5b5
a0546a9https://github.com/microsoft/TypeScript/commit/a0546a9310aa18a097fa8edb5276dc0c16fedfc2
Compare https://github.com/microsoft/TypeScript/compare/3cd506a64c767f53991995de633670869a30b5b5..a0546a9310aa18a097fa8edb5276dc0c16fedfc2
May 31, 2016 17:41https://github.com/microsoft/TypeScript/pull/8895#event-677353966
DanielRosenwasserhttps://github.com/DanielRosenwasser
May 31, 2016 https://github.com/microsoft/TypeScript/pull/8895#discussion-diff-65229786
View reviewed changes https://github.com/microsoft/TypeScript/pull/8895/files/a0546a9310aa18a097fa8edb5276dc0c16fedfc2#diff-dbfa0e7f632eca196a5ee0e08e00743c46c03799e2704206cfccc065bb6f9e3a
src/compiler/program.tshttps://github.com/microsoft/TypeScript/pull/8895/files#diff-dbfa0e7f632eca196a5ee0e08e00743c46c03799e2704206cfccc065bb6f9e3a
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
May 31, 2016https://github.com/microsoft/TypeScript/pull/8895#discussion_r65229786
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8895
Respond to PR commentshttps://github.com/microsoft/TypeScript/pull/8895/commits/f4d6b67cb0973ed3366190e10f61c0cf3a4e4229
f4d6b67https://github.com/microsoft/TypeScript/pull/8895/commits/f4d6b67cb0973ed3366190e10f61c0cf3a4e4229
DanielRosenwasserhttps://github.com/DanielRosenwasser
May 31, 2016 https://github.com/microsoft/TypeScript/pull/8895#discussion-diff-65242919
View reviewed changes https://github.com/microsoft/TypeScript/pull/8895/files/f4d6b67cb0973ed3366190e10f61c0cf3a4e4229#diff-8eee8edc4cdf82aaa3b0c0ba3c8c74fa80ac6d5214540a460c49fb2ee1031b25
src/compiler/core.tshttps://github.com/microsoft/TypeScript/pull/8895/files#diff-8eee8edc4cdf82aaa3b0c0ba3c8c74fa80ac6d5214540a460c49fb2ee1031b25
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
May 31, 2016https://github.com/microsoft/TypeScript/pull/8895#discussion_r65242919
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8895
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8895
Respond to more PR commentshttps://github.com/microsoft/TypeScript/pull/8895/commits/d4b88899840edd218ae2638538aebcaf7b13c15c
d4b8889https://github.com/microsoft/TypeScript/pull/8895/commits/d4b88899840edd218ae2638538aebcaf7b13c15c
billtihttps://github.com/billti
Jun 1, 2016 https://github.com/microsoft/TypeScript/pull/8895#discussion-diff-65308115
View reviewed changes https://github.com/microsoft/TypeScript/pull/8895/files/f4d6b67cb0973ed3366190e10f61c0cf3a4e4229#diff-8eee8edc4cdf82aaa3b0c0ba3c8c74fa80ac6d5214540a460c49fb2ee1031b25
src/compiler/core.tshttps://github.com/microsoft/TypeScript/pull/8895/files#diff-8eee8edc4cdf82aaa3b0c0ba3c8c74fa80ac6d5214540a460c49fb2ee1031b25
Bill Ticehurst (billti)https://github.com/billti
Jun 1, 2016https://github.com/microsoft/TypeScript/pull/8895#discussion_r65308115
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8895
Deleted user (ghost)https://github.com/ghost
Jun 1, 2016https://github.com/microsoft/TypeScript/pull/8895#discussion_r65353630
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8895
https://github.com/billti
Bill Ticehurst (billti)https://github.com/billti
Jun 1, 2016https://github.com/microsoft/TypeScript/pull/8895#issuecomment-222906365
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8895
https://github.com/ghost
Deleted user (ghost)https://github.com/ghost
Jun 1, 2016https://github.com/microsoft/TypeScript/pull/8895#issuecomment-222983656
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8895
June 1, 2016 10:43https://github.com/microsoft/TypeScript/pull/8895#commits-pushed-9179f4c
Fix testhttps://github.com/microsoft/TypeScript/pull/8895/commits/9179f4ca42c81f9ebd6e054abe2ff5bb39a69554
9179f4chttps://github.com/microsoft/TypeScript/pull/8895/commits/9179f4ca42c81f9ebd6e054abe2ff5bb39a69554
Revert to old tryLoad implementationhttps://github.com/microsoft/TypeScript/pull/8895/commits/9575b3c3ca06935ab22e36d9d1dfb04b6c133bc4
9575b3chttps://github.com/microsoft/TypeScript/pull/8895/commits/9575b3c3ca06935ab22e36d9d1dfb04b6c133bc4
Jun 6, 2016 https://github.com/microsoft/TypeScript/pull/8895#ref-issue-158705044
Update spec: Stripping ".js" and ".jsx" extensions #8983 https://github.com/microsoft/TypeScript/issues/8983
June 6, 2016 12:17https://github.com/microsoft/TypeScript/pull/8895#commits-pushed-a918730
factor out isJsxOrTsxExtensionhttps://github.com/microsoft/TypeScript/pull/8895/commits/a918730df0919357fbe8accd88a873991ef11fa6
a918730https://github.com/microsoft/TypeScript/pull/8895/commits/a918730df0919357fbe8accd88a873991ef11fa6
Move to a conformance testhttps://github.com/microsoft/TypeScript/pull/8895/commits/704f9874e058da4bad7bcb003710002c410570fd
704f987https://github.com/microsoft/TypeScript/pull/8895/commits/704f9874e058da4bad7bcb003710002c410570fd
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Jun 8, 2016https://github.com/microsoft/TypeScript/pull/8895#issuecomment-224724095
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8895
512c671https://github.com/microsoft/TypeScript/commit/512c6719ae78c14de7e227979df3655a5a69158f
Jun 9, 2016https://github.com/microsoft/TypeScript/pull/8895#event-687650026
June 9, 2016 18:38https://github.com/microsoft/TypeScript/pull/8895#event-687650063
https://github.com/IgorMinar
Igor Minar (IgorMinar)https://github.com/IgorMinar
Jun 9, 2016 https://github.com/microsoft/TypeScript/pull/8895#ref-issue-104340155
Module imports need to recognize/ignore the file extension #4595 https://github.com/microsoft/TypeScript/issues/4595
https://github.com/kitsonk
Kitson Kelly (kitsonk)https://github.com/kitsonk
Jun 10, 2016 https://github.com/microsoft/TypeScript/pull/8895#ref-issue-159587202
allowJs: why is import "x.js" being ignored? #9070 https://github.com/microsoft/TypeScript/issues/9070
Aug 3, 2016 https://github.com/microsoft/TypeScript/pull/8895#ref-pullrequest-165125349
Don't allow .ts to appear in an import #9646 https://github.com/microsoft/TypeScript/pull/9646
https://github.com/mgechev
Minko Gechev (mgechev)https://github.com/mgechev
Feb 25, 2017 https://github.com/microsoft/TypeScript/pull/8895#ref-pullrequest-209655667
fix(compiler-cli): allow import of modules ending with .js, .ts, etc. angular/angular#14664 https://github.com/angular/angular/pull/14664
Kagami Sascha Rosylight (saschanaz)https://github.com/saschanaz
Apr 17, 2017 https://github.com/microsoft/TypeScript/pull/8895#ref-commit-f0dc39a
https://github.com/saschanaz
add .js on importhttps://github.com/saschanaz/sn-cancelable/commit/f0dc39ad7ae844d85aaa86701a8825e5344a130d
f0dc39ahttps://github.com/saschanaz/sn-cancelable/commit/f0dc39ad7ae844d85aaa86701a8825e5344a130d
microsoft/TypeScript#8895https://github.com/microsoft/TypeScript/pull/8895
Jan 24, 2018 https://github.com/microsoft/TypeScript/pull/8895#ref-issue-291218707
Targetting ES2015 modules for current browsers not possible (ts:import "name" -> js:import "./name.js") #21389 https://github.com/microsoft/TypeScript/issues/21389
Jun 19, 2018 https://github.com/microsoft/TypeScript/pull/8895#ref-pullrequest-333760460
add support for Extension Preference in import #25073 https://github.com/microsoft/TypeScript/pull/25073
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Jun 19, 2018https://github.com/microsoft/TypeScript/pull/8895#event-1689837579
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%2F8895
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8895
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/8895
https://github.com/msftclas
https://github.com/billti
https://github.com/mhegazy
https://github.com/DanielRosenwasser
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.