René's URL Explorer Experiment


Title: feat: adjust TS2691 message for .ts import sources by ctjlewis · Pull Request #42184 · microsoft/TypeScript · GitHub

Open Graph Title: feat: adjust TS2691 message for .ts import sources by ctjlewis · Pull Request #42184 · microsoft/TypeScript

X Title: feat: adjust TS2691 message for .ts import sources by ctjlewis · Pull Request #42184 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - feat: adjust TS2691 message for .ts import sources by ctjlewis · Pull Request #42184 · microsoft/TypeScript

Open Graph Description: The advice given by error TS2691 is confusing, and following its instructions produces output which throws ERR_MODULE_NOT_FOUND at runtime when outputting an ES module, i.e. when moduleKind >= M...

X Description: The advice given by error TS2691 is confusing, and following its instructions produces output which throws ERR_MODULE_NOT_FOUND at runtime when outputting an ES module, i.e. when moduleKind &gt...

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

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:b84cd6d6-d1f3-a56b-e602-7fb906e77cae
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEB88:EA06E:1476802:1A2A39E:6B01151E
html-safe-nonce06773d0d6c8082254778ce9aea8ec3a07f840d70d754bf29b343ef33a5c986cd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjg4OkVBMDZFOjE0NzY4MDI6MUEyQTM5RTo2QjAxMTUxRSIsInZpc2l0b3JfaWQiOiI2MzY5OTQ4OTI1NzIxMzg0MjIyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaca0fcc6cbeeef6be05c2a03ce79367b61eadc1e405e7e4b4f2fe51b22c84972a0
hovercard-subject-tagpull_request:547848651
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/42184/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6bb30239e552dc9b1b9aff40d168d336d429612d7c016a5d8952b373798771e8/microsoft/TypeScript/pull/42184
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6bb30239e552dc9b1b9aff40d168d336d429612d7c016a5d8952b373798771e8/microsoft/TypeScript/pull/42184
og:image:altThe advice given by error TS2691 is confusing, and following its instructions produces output which throws ERR_MODULE_NOT_FOUND at runtime when outputting an ES module, i.e. when moduleKind >= M...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamectjlewis
hostnamegithub.com
expected-hostnamegithub.com
Nonecb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124
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
release2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/42184#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F42184
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%2F42184
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/42184
Reloadhttps://github.com/microsoft/TypeScript/pull/42184
Reloadhttps://github.com/microsoft/TypeScript/pull/42184
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests310 (310)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
Andrew Branch (andrewbranch)https://github.com/andrewbranch
microsoft:masterhttps://github.com/microsoft/TypeScript/tree/master
ctjlewis:ts2691-messagehttps://github.com/ctjlewis/TypeScript/tree/ts2691-message
Conversationhttps://github.com/microsoft/TypeScript/pull/42184
Commits3 (3)https://github.com/microsoft/TypeScript/pull/42184/commits
Checkshttps://github.com/microsoft/TypeScript/pull/42184/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/42184/files
feat: adjust TS2691 message for .ts import sourceshttps://github.com/microsoft/TypeScript/pull/42184#top
Andrew Branch (andrewbranch)https://github.com/andrewbranch
microsoft:masterhttps://github.com/microsoft/TypeScript/tree/master
ctjlewis:ts2691-messagehttps://github.com/ctjlewis/TypeScript/tree/ts2691-message
https://github.com/ctjlewis
Lewis (ctjlewis)https://github.com/ctjlewis
Jan 3, 2021https://github.com/microsoft/TypeScript/pull/42184#issue-777596210
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42184
#42151https://github.com/microsoft/TypeScript/issues/42151
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42184
https://github.com/ctjlewis
Adjust TS2691 message for .ts import sourceshttps://github.com/microsoft/TypeScript/pull/42184/commits/97f87f348c23ba826d1e8c7cd64142774dbc5eb6
97f87f3https://github.com/microsoft/TypeScript/pull/42184/commits/97f87f348c23ba826d1e8c7cd64142774dbc5eb6
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
For Uncommitted Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Uncommitted%20Bug%22
Jan 3, 2021https://github.com/microsoft/TypeScript/pull/42184#event-4162271772
https://github.com/andrewbranch
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Jan 4, 2021 https://github.com/microsoft/TypeScript/pull/42184#pullrequestreview-561247389
View reviewed changes https://github.com/microsoft/TypeScript/pull/42184/files/97f87f348c23ba826d1e8c7cd64142774dbc5eb6
Andrew Branch (andrewbranch)https://github.com/andrewbranch
https://github.com/microsoft/TypeScript/pull/42184#pullrequestreview-561247389
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42184
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/42184/files/97f87f348c23ba826d1e8c7cd64142774dbc5eb6#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42184
https://github.com/ctjlewis
Only ModuleKind is needed for TS2691 logichttps://github.com/microsoft/TypeScript/pull/42184/commits/72145bb57d25fc44e84c1a78a6a58b34dd756b6a
72145bbhttps://github.com/microsoft/TypeScript/pull/42184/commits/72145bb57d25fc44e84c1a78a6a58b34dd756b6a
https://github.com/ctjlewis
Lewis (ctjlewis)https://github.com/ctjlewis
Jan 4, 2021https://github.com/microsoft/TypeScript/pull/42184#issuecomment-754227405
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42184
Andrew Branch (@andrewbranch)https://github.com/andrewbranch
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42184
https://github.com/andrewbranch
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Jan 4, 2021https://github.com/microsoft/TypeScript/pull/42184#issuecomment-754229217
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42184
https://github.com/andrewbranch
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Jan 4, 2021https://github.com/microsoft/TypeScript/pull/42184#issuecomment-754273676
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42184
https://github.com/ctjlewis
Added tests for TS2691https://github.com/microsoft/TypeScript/pull/42184/commits/f34e5e49c8a04da8b32f678f6e23b663ae8943f8
f34e5e4https://github.com/microsoft/TypeScript/pull/42184/commits/f34e5e49c8a04da8b32f678f6e23b663ae8943f8
https://github.com/ghost
Deleted user (ghost)https://github.com/ghost
Jan 5, 2021https://github.com/microsoft/TypeScript/pull/42184#issuecomment-754310525
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42184
https://cla.opensource.microsoft.com/microsoft/TypeScript?pullRequest=42184
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42184
https://github.com/ctjlewis
Lewis (ctjlewis)https://github.com/ctjlewis
Jan 5, 2021 https://github.com/microsoft/TypeScript/pull/42184#pullrequestreview-561443586
View reviewed changes https://github.com/microsoft/TypeScript/pull/42184/files/f34e5e49c8a04da8b32f678f6e23b663ae8943f8
tests/baselines/reference/moduleResolutionNoTsCJS.errors.txthttps://github.com/microsoft/TypeScript/pull/42184/files/f34e5e49c8a04da8b32f678f6e23b663ae8943f8#diff-e03a0d1d57ed1a53f91b38fd252fd9a77fcc50c2ef775b8d8509fc2a2b4c1db9
Lewis (ctjlewis)https://github.com/ctjlewis
Jan 5, 2021https://github.com/microsoft/TypeScript/pull/42184#discussion_r551651359
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42184
https://github.com/ctjlewis
Lewis (ctjlewis)https://github.com/ctjlewis
Jan 5, 2021 https://github.com/microsoft/TypeScript/pull/42184#pullrequestreview-561443652
View reviewed changes https://github.com/microsoft/TypeScript/pull/42184/files/f34e5e49c8a04da8b32f678f6e23b663ae8943f8
tests/baselines/reference/moduleResolutionNoTsESM.errors.txthttps://github.com/microsoft/TypeScript/pull/42184/files/f34e5e49c8a04da8b32f678f6e23b663ae8943f8#diff-e066d6e0f18a85b6d9b62f7f6a6b313487ab8a945bf95b5d6a852598096de5f4
Lewis (ctjlewis)https://github.com/ctjlewis
Jan 5, 2021https://github.com/microsoft/TypeScript/pull/42184#discussion_r551651456
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42184
https://github.com/ctjlewis
Lewis (ctjlewis)https://github.com/ctjlewis
Andrew Branch (andrewbranch)https://github.com/andrewbranch
January 5, 2021 01:03https://github.com/microsoft/TypeScript/pull/42184#event-4167417972
https://github.com/andrewbranch
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
Wesley Wigham (weswigham)https://github.com/weswigham
January 5, 2021 17:24https://github.com/microsoft/TypeScript/pull/42184#event-4171001929
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Jan 5, 2021 https://github.com/microsoft/TypeScript/pull/42184#pullrequestreview-562030498
View reviewed changes https://github.com/microsoft/TypeScript/pull/42184/files/f34e5e49c8a04da8b32f678f6e23b663ae8943f8
https://github.com/andrewbranch
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Jan 5, 2021 https://github.com/microsoft/TypeScript/pull/42184#pullrequestreview-562057623
View reviewed changes https://github.com/microsoft/TypeScript/pull/42184/files/f34e5e49c8a04da8b32f678f6e23b663ae8943f8
Andrew Branch (andrewbranch)https://github.com/andrewbranch
https://github.com/microsoft/TypeScript/pull/42184#pullrequestreview-562057623
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Lewis (@ctjlewis)https://github.com/ctjlewis
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42184
https://github.com/andrewbranch
Andrew Branch (andrewbranch)https://github.com/andrewbranch
7a5aadchttps://github.com/microsoft/TypeScript/commit/7a5aadca6952670ec8d678fb5522a903c2fd6496
Jan 5, 2021https://github.com/microsoft/TypeScript/pull/42184#event-4171488069
Zzzen (Zzzen)https://github.com/Zzzen
Jan 16, 2021 https://github.com/microsoft/TypeScript/pull/42184#ref-commit-5593c7c
https://github.com/ctjlewis
https://github.com/Zzzen
Adjust TS2691 message for .ts import sources (https://github.com/Zzzen/TypeScript/commit/5593c7c0763d96de31f948f505f1ae0eb24a415c
microsoft#42184https://github.com/microsoft/TypeScript/pull/42184
)https://github.com/Zzzen/TypeScript/commit/5593c7c0763d96de31f948f505f1ae0eb24a415c
5593c7chttps://github.com/Zzzen/TypeScript/commit/5593c7c0763d96de31f948f505f1ae0eb24a415c
https://github.com/JulianMar
Julian Martin (JulianMar)https://github.com/JulianMar
Mar 16, 2021 https://github.com/microsoft/TypeScript/pull/42184#ref-issue-833010799
TS2691: An import path cannot end with a '.ts' extension. nuxt/typescript#496 https://github.com/nuxt/typescript/issues/496
https://github.com/ctjlewis
Lewis (ctjlewis)https://github.com/ctjlewis
Jul 18, 2021https://github.com/microsoft/TypeScript/pull/42184#event-5035481302
https://github.com/tobiaskohlbau
Tobias Kohlbau (tobiaskohlbau)https://github.com/tobiaskohlbau
Jul 29, 2021 https://github.com/microsoft/TypeScript/pull/42184#ref-issue-924509819
Sveltekit + Windows = ERR_REQUIRE_ESM cibernox/svelte-intl-precompile#10 https://github.com/cibernox/svelte-intl-precompile/issues/10
https://github.com/ctjlewis
Lewis (ctjlewis)https://github.com/ctjlewis
Aug 1, 2021 https://github.com/microsoft/TypeScript/pull/42184#ref-issue-88194666
Request: Optional Static Typing tc39/ecma262#45 https://github.com/tc39/ecma262/issues/45
https://github.com/ctjlewis
Lewis (ctjlewis)https://github.com/ctjlewis
Sep 6, 2021 https://github.com/microsoft/TypeScript/pull/42184#ref-issue-776143967
TypeScript cannot emit valid ES modules due to file extension issue #42151 https://github.com/microsoft/TypeScript/issues/42151
https://github.com/ramadhanafif
Muhammad Afif Ramadhan (ramadhanafif)https://github.com/ramadhanafif
Jan 1, 2024 https://github.com/microsoft/TypeScript/pull/42184#ref-issue-2061021570
Error when importing, pocketbase-types.js not found patmood/pocketbase-typegen#93 https://github.com/patmood/pocketbase-typegen/issues/93
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Oct 21, 2025https://github.com/microsoft/TypeScript/pull/42184#event-20417360256
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%2F42184
https://github.com/weswigham
Wesley Wigham (weswigham) https://github.com/weswigham
https://github.com/microsoft/TypeScript/pull/42184/files/f34e5e49c8a04da8b32f678f6e23b663ae8943f8
https://github.com/andrewbranch
Andrew Branch (andrewbranch) https://github.com/andrewbranch
https://github.com/microsoft/TypeScript/pull/42184/files/f34e5e49c8a04da8b32f678f6e23b663ae8943f8
https://github.com/DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser) https://github.com/DanielRosenwasser
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42184
For Uncommitted Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Uncommitted%20Bug%22
TypeScript cannot emit valid ES modules due to file extension issue https://github.com/microsoft/TypeScript/issues/42151
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/42184
https://github.com/ctjlewis
https://github.com/andrewbranch
https://github.com/weswigham
https://github.com/typescript-bot
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.