René's URL Explorer Experiment


Title: Proposal: Always allow type-only imports to reference .ts extensions by andrewbranch · Pull Request #54746 · microsoft/TypeScript · GitHub

Open Graph Title: Proposal: Always allow type-only imports to reference .ts extensions by andrewbranch · Pull Request #54746 · microsoft/TypeScript

X Title: Proposal: Always allow type-only imports to reference .ts extensions by andrewbranch · Pull Request #54746 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Proposal: Always allow type-only imports to reference .ts extensions by andrewbranch · Pull Request #54746 · microsoft/TypeScript

Open Graph Description: Currently, it’s an error to have a type-only import from a .ts extension unless allowImportingTsExtensions is enabled: import type { JustAType } from "./justTypes.ts"; // ...

X Description: Currently, it’s an error to have a type-only import from a .ts extension unless allowImportingTsExtensions is enabled: import type { JustAType } from "./justTypes.ts"; // ...

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

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:77bc8c56-73eb-68e9-2d18-04f81ca48b80
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8D10:296654:C02CC9:102A142:6B00F914
html-safe-noncedec1498081208a5a1e6a9e7bce2c87648a4dff1fb79966e7cdda1c7b74822438
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDEwOjI5NjY1NDpDMDJDQzk6MTAyQTE0Mjo2QjAwRjkxNCIsInZpc2l0b3JfaWQiOiI4NDM2MjEwNDc3MjUxNDkyMTE2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac9eee69070ac21cb5537475bf5cafdf8442f266c8ff2819d5e04dd6bdd2c840e6
hovercard-subject-tagpull_request:1404280185
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/54746/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f7862b0d08113f2672da939726deeb5371d0ec33bf39c1e1ba6fb326b6fbc506/microsoft/TypeScript/pull/54746
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f7862b0d08113f2672da939726deeb5371d0ec33bf39c1e1ba6fb326b6fbc506/microsoft/TypeScript/pull/54746
og:image:altCurrently, it’s an error to have a type-only import from a .ts extension unless allowImportingTsExtensions is enabled: import type { JustAType } from "./justTypes.ts"; // ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameandrewbranch
hostnamegithub.com
expected-hostnamegithub.com
Nonee208d86428ec00a57ade75058166297440e8128a01e5287c31a53dc042bbf187
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
release7dafd017fb7809a839c443dba08622af38e63c09
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/54746#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F54746
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%2F54746
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/54746
Reloadhttps://github.com/microsoft/TypeScript/pull/54746
Reloadhttps://github.com/microsoft/TypeScript/pull/54746
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests309 (309)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
mainhttps://github.com/microsoft/TypeScript/tree/main
type-only-import-ts-extensionshttps://github.com/microsoft/TypeScript/tree/type-only-import-ts-extensions
Conversationhttps://github.com/microsoft/TypeScript/pull/54746
Commits3 (3)https://github.com/microsoft/TypeScript/pull/54746/commits
Checkshttps://github.com/microsoft/TypeScript/pull/54746/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/54746/files
Proposal: Always allow type-only imports to reference .ts extensionshttps://github.com/microsoft/TypeScript/pull/54746#top
Andrew Branch (andrewbranch)https://github.com/andrewbranch
mainhttps://github.com/microsoft/TypeScript/tree/main
type-only-import-ts-extensionshttps://github.com/microsoft/TypeScript/tree/type-only-import-ts-extensions
https://github.com/andrewbranch
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Jun 22, 2023https://github.com/microsoft/TypeScript/pull/54746#issue-1770533709
#51669https://github.com/microsoft/TypeScript/pull/51669
#52230https://github.com/microsoft/TypeScript/pull/52230
#51876https://github.com/microsoft/TypeScript/issues/51876
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/54746
https://github.com/andrewbranch
Always allow type-only imports to reference .ts extensionshttps://github.com/microsoft/TypeScript/pull/54746/commits/8a2bf48c965baa006b8dee229d1e3989bf7cb5ed
8a2bf48https://github.com/microsoft/TypeScript/pull/54746/commits/8a2bf48c965baa006b8dee229d1e3989bf7cb5ed
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Jun 22, 2023https://github.com/microsoft/TypeScript/pull/54746#event-9612056318
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Author: Team https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Author%3A%20Team%22
For Uncommitted Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Uncommitted%20Bug%22
Jun 22, 2023https://github.com/microsoft/TypeScript/pull/54746#event-9612056400
https://github.com/robpalme
Rob Palmer (robpalme)https://github.com/robpalme
Jun 23, 2023 https://github.com/microsoft/TypeScript/pull/54746#pullrequestreview-1494841015
View reviewed changes https://github.com/microsoft/TypeScript/pull/54746/files/8a2bf48c965baa006b8dee229d1e3989bf7cb5ed
tests/cases/conformance/externalModules/typeOnly/allowsImportingTsExtension.tshttps://github.com/microsoft/TypeScript/pull/54746/files/8a2bf48c965baa006b8dee229d1e3989bf7cb5ed#diff-0bd6c4dfedc72c7e56a0d35aa344c479b75969f56f7805bc26194ae20e89ce3b
Rob Palmer (robpalme)https://github.com/robpalme
Jun 23, 2023https://github.com/microsoft/TypeScript/pull/54746#discussion_r1239624230
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/54746
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Jun 23, 2023https://github.com/microsoft/TypeScript/pull/54746#discussion_r1239968306
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/54746
https://github.com/andrewbranch
Add test for .d.ts importshttps://github.com/microsoft/TypeScript/pull/54746/commits/85ee64a76b032355a5b92153b7f46facec4957a6
85ee64ahttps://github.com/microsoft/TypeScript/pull/54746/commits/85ee64a76b032355a5b92153b7f46facec4957a6
https://github.com/sheetalkamat
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
Jun 26, 2023 https://github.com/microsoft/TypeScript/pull/54746#pullrequestreview-1499027194
View reviewed changes https://github.com/microsoft/TypeScript/pull/54746/files/85ee64a76b032355a5b92153b7f46facec4957a6
tests/baselines/reference/allowsImportingTsExtension.errors.txthttps://github.com/microsoft/TypeScript/pull/54746/files/85ee64a76b032355a5b92153b7f46facec4957a6#diff-1a697a348a84ab523fe559d855c27f66026ab9547feb7f41c5daeb996d2a7561
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
Jun 26, 2023https://github.com/microsoft/TypeScript/pull/54746#discussion_r1242510384
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/54746
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Jun 26, 2023https://github.com/microsoft/TypeScript/pull/54746#discussion_r1242518787
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/54746
https://github.com/andrewbranch
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Jake Bailey (jakebailey)https://github.com/jakebailey
Wesley Wigham (weswigham)https://github.com/weswigham
June 28, 2023 20:20https://github.com/microsoft/TypeScript/pull/54746#event-9669346360
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
Jul 5, 2023 https://github.com/microsoft/TypeScript/pull/54746#pullrequestreview-1515220326
View reviewed changes https://github.com/microsoft/TypeScript/pull/54746/files/85ee64a76b032355a5b92153b7f46facec4957a6
Jake Bailey (jakebailey)https://github.com/jakebailey
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/54746
https://github.com/microsoft/TypeScript/pull/54746#pullrequestreview-1515220326
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#51876 (comment)https://github.com/microsoft/TypeScript/issues/51876#issuecomment-1563244922
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/54746
https://github.com/andrewbranch
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Jul 7, 2023https://github.com/microsoft/TypeScript/pull/54746#issuecomment-1625680050
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/54746
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
Jul 7, 2023https://github.com/microsoft/TypeScript/pull/54746#issuecomment-1625689223
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/54746
https://github.com/andrewbranch
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Jul 7, 2023https://github.com/microsoft/TypeScript/pull/54746#issuecomment-1625701379
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/54746
https://github.com/andrewbranch
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Jul 24, 2023https://github.com/microsoft/TypeScript/pull/54746#issuecomment-1648460647
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/54746
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
Jul 24, 2023 https://github.com/microsoft/TypeScript/pull/54746#pullrequestreview-1544222040
View reviewed changes https://github.com/microsoft/TypeScript/pull/54746/files/85ee64a76b032355a5b92153b7f46facec4957a6
Jake Bailey (jakebailey)https://github.com/jakebailey
https://github.com/microsoft/TypeScript/pull/54746#pullrequestreview-1544222040
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/54746
https://github.com/andrewbranch
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Jul 24, 2023https://github.com/microsoft/TypeScript/pull/54746#issuecomment-1648566958
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/54746
https://github.com/andrewbranch
Ensure auto-imports changes .ts to .js when promoting type-only impor…https://github.com/microsoft/TypeScript/pull/54746/commits/508617877d4d684c6f9e7e260b61a0bcdf3f876b
5086178https://github.com/microsoft/TypeScript/pull/54746/commits/508617877d4d684c6f9e7e260b61a0bcdf3f876b
https://github.com/andrewbranch
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Jul 24, 2023https://github.com/microsoft/TypeScript/pull/54746#issuecomment-1648704355
Jake Bailey (@jakebailey)https://github.com/jakebailey
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/54746
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
Jul 24, 2023 https://github.com/microsoft/TypeScript/pull/54746#pullrequestreview-1544385351
View reviewed changes https://github.com/microsoft/TypeScript/pull/54746/files/508617877d4d684c6f9e7e260b61a0bcdf3f876b
Jake Bailey (jakebailey)https://github.com/jakebailey
https://github.com/microsoft/TypeScript/pull/54746#pullrequestreview-1544385351
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/54746
https://github.com/andrewbranch
Andrew Branch (andrewbranch)https://github.com/andrewbranch
2170e6chttps://github.com/microsoft/TypeScript/commit/2170e6c6cc12f08bfa2975955da2f145e4be6101
Jul 24, 2023https://github.com/microsoft/TypeScript/pull/54746#event-9905578369
https://github.com/andrewbranch
Andrew Branch (andrewbranch)https://github.com/andrewbranch
July 24, 2023 23:12https://github.com/microsoft/TypeScript/pull/54746#event-9905578450
https://github.com/phryneas
Lenz Weber-Tronic (phryneas)https://github.com/phryneas
Jul 28, 2023 https://github.com/microsoft/TypeScript/pull/54746#ref-pullrequest-1789245094
[New] extensions: add the checkTypeImports option import-js/eslint-plugin-import#2817 https://github.com/import-js/eslint-plugin-import/pull/2817
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Oct 22, 2025https://github.com/microsoft/TypeScript/pull/54746#event-20419569952
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%2F54746
https://github.com/sheetalkamat
Sheetal Nandi (sheetalkamat) https://github.com/sheetalkamat
https://github.com/microsoft/TypeScript/pull/54746/files/85ee64a76b032355a5b92153b7f46facec4957a6
https://github.com/jakebailey
Jake Bailey (jakebailey) https://github.com/jakebailey
https://github.com/microsoft/TypeScript/pull/54746/files/508617877d4d684c6f9e7e260b61a0bcdf3f876b
https://github.com/weswigham
Wesley Wigham (weswigham) https://github.com/weswigham
https://github.com/robpalme
Rob Palmer (robpalme) https://github.com/robpalme
https://github.com/microsoft/TypeScript/pull/54746/files/8a2bf48c965baa006b8dee229d1e3989bf7cb5ed
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/54746
https://github.com/andrewbranch
Andrew Branch (andrewbranch) https://github.com/andrewbranch
Author: Team https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Author%3A%20Team%22
For Uncommitted Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Uncommitted%20Bug%22
PR Backlog https://github.com/orgs/microsoft/projects/1252
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/54746
https://github.com/andrewbranch
https://github.com/jakebailey
https://github.com/robpalme
https://github.com/sheetalkamat
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.