René's URL Explorer Experiment


Title: Suppressing "The import path cannot end with a '.ts' extension" error? · Issue #27481 · microsoft/TypeScript · GitHub

Open Graph Title: Suppressing "The import path cannot end with a '.ts' extension" error? · Issue #27481 · microsoft/TypeScript

X Title: Suppressing "The import path cannot end with a '.ts' extension" error? · Issue #27481 · microsoft/TypeScript

Description: From hooper (@hooper-hc) on September 30, 2018 8:45 when i use import { PI } from './module.1.ts' import an module . vscode linter notice me an error 'The import path cannot end with a ".ts" extension. Consider changing to import “./modu...

Open Graph Description: From hooper (@hooper-hc) on September 30, 2018 8:45 when i use import { PI } from './module.1.ts' import an module . vscode linter notice me an error 'The import path cannot end with a ".ts" extens...

X Description: From hooper (@hooper-hc) on September 30, 2018 8:45 when i use import { PI } from './module.1.ts' import an module . vscode linter notice me an error 'The import path cannot end with a ...

Opengraph URL: https://github.com/microsoft/TypeScript/issues/27481

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Suppressing \"The import path cannot end with a '.ts' extension\" error?","articleBody":"_From @hooper-hc on September 30, 2018 8:45_\n\nwhen i use \r\n\r\n`import { PI } from './module.1.ts'` \r\n\r\nimport an  module . \r\n\r\nvscode linter notice  me an error \r\n\r\n'The import path cannot end with a \".ts\" extension. Consider changing to import “./module.1”。'\r\n\r\nhao can i hidden the notice ? \n\n_Copied from original issue: Microsoft/vscode#59690_","author":{"url":"https://github.com/mjbvz","@type":"Person","name":"mjbvz"},"datePublished":"2018-10-01T18:37:41Z","url":"https://github.com/microsoft/TypeScript/issues/27481"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:21f22aa9-2835-ffb0-2fa6-bd1be8d9800c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA99C:ADA9D:129973F:17FDA45:6B011206
html-safe-noncefa83064eaaa43d0477154d77621699a61b033548f86589d44eb78fe7d990c100
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTlDOkFEQTlEOjEyOTk3M0Y6MTdGREE0NTo2QjAxMTIwNiIsInZpc2l0b3JfaWQiOiI2MjA4NTU4Njk2MjgxMjE1NDk0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac142e259115243cd3abfcf76c14522541ebfbede1a3a95e57c46ac6178b8d522c
hovercard-subject-tagissue:365589291
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/27481/issue_layout
twitter:imagehttps://opengraph.githubassets.com/75c0bd6fc359821437cf7b34753beebbc87c77f7d4acbcc22d0dd77f13b1e631/microsoft/TypeScript/issues/27481
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/75c0bd6fc359821437cf7b34753beebbc87c77f7d4acbcc22d0dd77f13b1e631/microsoft/TypeScript/issues/27481
og:image:altFrom hooper (@hooper-hc) on September 30, 2018 8:45 when i use import { PI } from './module.1.ts' import an module . vscode linter notice me an error 'The import path cannot end with a ".ts" extens...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemjbvz
hostnamegithub.com
expected-hostnamegithub.com
Nonecb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124
turbo-cache-controlno-preview
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-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/27481#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F27481
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%2Fissues%2F27481
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2FTypeScript
Reloadhttps://github.com/microsoft/TypeScript/issues/27481
Reloadhttps://github.com/microsoft/TypeScript/issues/27481
Reloadhttps://github.com/microsoft/TypeScript/issues/27481
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
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/27481
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/27481
#51669https://github.com/microsoft/TypeScript/pull/51669
Suppressing "The import path cannot end with a '.ts' extension" error?https://github.com/microsoft/TypeScript/issues/27481#top
#51669https://github.com/microsoft/TypeScript/pull/51669
Fix AvailableA PR has been opened for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fix%20Available%22
QuestionAn issue which isn't directly actionable in codehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Question%22
VS Code TrackedThere is a VS Code equivalent to this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22VS%20Code%20Tracked%22
https://github.com/mjbvz
Matt Bierner (mjbvz)https://github.com/mjbvz
on Oct 1, 2018https://github.com/microsoft/TypeScript/issues/27481#issue-365589291
hooper (@hooper-hc)https://github.com/hooper-hc
microsoft/vscode#59690https://github.com/microsoft/vscode/issues/59690
Nexthttps://github.com/microsoft/TypeScript/issues/27481?timeline_page=1
Matt Bierner (mjbvz)https://github.com/mjbvz
on Oct 1, 2018https://github.com/microsoft/TypeScript/issues/27481#event-1877496707
Matt Bierner (mjbvz)https://github.com/mjbvz
typescripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22typescript%22
typescripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22typescript%22
on Oct 1, 2018https://github.com/microsoft/TypeScript/issues/27481#event-1877496710
Matt Bierner (mjbvz)https://github.com/mjbvz
on Oct 1, 2018https://github.com/microsoft/TypeScript/issues/27481#event-1877496959
Matt Bierner (mjbvz)https://github.com/mjbvz
VS Code TrackedThere is a VS Code equivalent to this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22VS%20Code%20Tracked%22
on Oct 1, 2018https://github.com/microsoft/TypeScript/issues/27481#event-1877497134
QuestionAn issue which isn't directly actionable in codehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Question%22
on Oct 1, 2018https://github.com/microsoft/TypeScript/issues/27481#event-1877564670
https://github.com/hooper-hc
hooper (hooper-hc)https://github.com/hooper-hc
on Oct 3, 2018https://github.com/microsoft/TypeScript/issues/27481#issuecomment-426587135
https://github.com/zhmushan
木杉 (zhmushan)https://github.com/zhmushan
on Dec 24, 2018https://github.com/microsoft/TypeScript/issues/27481#issuecomment-449673378
hooper (@hooper-hc)https://github.com/hooper-hc
https://github.com/reggi
Tea Reggi (reggi)https://github.com/reggi
on Dec 30, 2018https://github.com/microsoft/TypeScript/issues/27481#issuecomment-450581958
木杉 (@zhmushan)https://github.com/zhmushan
https://github.com/zhmushan
木杉 (zhmushan)https://github.com/zhmushan
on Dec 30, 2018https://github.com/microsoft/TypeScript/issues/27481#issuecomment-450593158
Tea Reggi (@reggi)https://github.com/reggi
https://github.com/luvies
luvieshttps://github.com/luvies
on Feb 17, 2019https://github.com/microsoft/TypeScript/issues/27481#issuecomment-464456102
kitsonk/deno_ls_pluginhttps://github.com/kitsonk/deno_ls_plugin
https://github.com/TomasHubelbauer
Tomáš Hübelbauer (TomasHubelbauer)https://github.com/TomasHubelbauer
on Feb 20, 2019https://github.com/microsoft/TypeScript/issues/27481#issuecomment-465569947
#11901https://github.com/microsoft/TypeScript/issues/11901
https://github.com/swansontec
William Swanson (swansontec)https://github.com/swansontec
on Apr 6, 2019https://github.com/microsoft/TypeScript/issues/27481#issuecomment-480462800
sndhttps://github.com/snd
on May 13, 2019https://github.com/microsoft/TypeScript/issues/27481#event-2337761250
add explicit .ts extensions to importshttps://github.com/snd/url-pattern/commit/1fcfb049222f7b91e2a8e30956a880a95076a96b
1fcfb04https://github.com/snd/url-pattern/commit/1fcfb049222f7b91e2a8e30956a880a95076a96b
https://github.com/maor-benami
maor-benamihttps://github.com/maor-benami
on Oct 2, 2022https://github.com/microsoft/TypeScript/issues/27481#issuecomment-1264548529
https://github.com/johnallen-117
John (johnallen-117)https://github.com/johnallen-117
on Nov 3, 2022https://github.com/microsoft/TypeScript/issues/27481#issuecomment-1302659247
https://marketplace.visualstudio.com/items?itemName=ameerthehacker.deno-vscode&ssr=false#overviewhttps://marketplace.visualstudio.com/items?itemName=ameerthehacker.deno-vscode&ssr=false#overview
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Fix AvailableA PR has been opened for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fix%20Available%22
on Nov 28, 2022https://github.com/microsoft/TypeScript/issues/27481#event-7906355371
https://github.com/basickarl
Karl Morrison (basickarl)https://github.com/basickarl
on Jan 9, 2023https://github.com/microsoft/TypeScript/issues/27481#issuecomment-1375928324
Andy (Andrewkraft) (@Andy-MS)https://github.com/Andy-MS
https://github.com/jeffmcmahan
Jeff McMahan (jeffmcmahan)https://github.com/jeffmcmahan
on Jan 16, 2023https://github.com/microsoft/TypeScript/issues/27481#issuecomment-1383393893
https://github.com/dxrsz
Evan Rose (dxrsz)https://github.com/dxrsz
on Jan 26, 2023https://github.com/microsoft/TypeScript/issues/27481#issuecomment-1405455053
about a month agohttps://github.com/microsoft/TypeScript/pull/51669
https://github.com/Higgs1
No GitHub (Higgs1)https://github.com/Higgs1
on Feb 3, 2023https://github.com/microsoft/TypeScript/issues/27481#issuecomment-1416537214
about a month agohttps://github.com/microsoft/TypeScript/pull/51669
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Feb 4, 2023https://github.com/microsoft/TypeScript/issues/27481#issuecomment-1416548931
No GitHub (@Higgs1)https://github.com/Higgs1
https://github.com/Higgs1
No GitHub (Higgs1)https://github.com/Higgs1
on Feb 4, 2023https://github.com/microsoft/TypeScript/issues/27481#issuecomment-1416568229
No GitHub (@Higgs1)https://github.com/Higgs1
https://github.com/danb4r
Danilo (danb4r)https://github.com/danb4r
on Mar 28, 2023https://github.com/microsoft/TypeScript/issues/27481#issuecomment-1486095135
#11901https://github.com/microsoft/TypeScript/issues/11901
fix-tsc-es-importshttps://www.npmjs.com/package/fix-tsc-es-imports
https://github.com/Higgs1
No GitHub (Higgs1)https://github.com/Higgs1
on Mar 28, 2023https://github.com/microsoft/TypeScript/issues/27481#issuecomment-1486125321
Danilo (@danb4r)https://github.com/danb4r
https://github.com/danb4r
Danilo (danb4r)https://github.com/danb4r
on Mar 28, 2023https://github.com/microsoft/TypeScript/issues/27481#issuecomment-1486676598
No GitHub (@Higgs1)https://github.com/Higgs1
@babel/plugin-syntax-dynamic-importhttps://babeljs.io/docs/babel-plugin-syntax-dynamic-import
https://github.com/GervinFung
PoolOfDeath20 (GervinFung)https://github.com/GervinFung
on May 19, 2023https://github.com/microsoft/TypeScript/issues/27481#issuecomment-1554197938
Danilo (@danb4r)https://github.com/danb4r
ts-add-js-extensionhttps://github.com/GervinFung/ts-add-js-extension
https://github.com/mortie
Martin Dørum (mortie)https://github.com/mortie
on Aug 10, 2024https://github.com/microsoft/TypeScript/issues/27481#issuecomment-2282207140
typescript-language-serverhttps://github.com/typescript-language-server/typescript-language-server
vtslshttps://github.com/yioneko/vtsls
microsofthttps://github.com/microsoft
on Oct 21, 2025https://github.com/microsoft/TypeScript/issues/27481#event-20415813392
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/27481
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/27481
Fix AvailableA PR has been opened for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fix%20Available%22
QuestionAn issue which isn't directly actionable in codehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Question%22
VS Code TrackedThere is a VS Code equivalent to this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22VS%20Code%20Tracked%22
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.