| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:77bc8c56-73eb-68e9-2d18-04f81ca48b80 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8D10:296654:C02CC9:102A142:6B00F914 |
| html-safe-nonce | dec1498081208a5a1e6a9e7bce2c87648a4dff1fb79966e7cdda1c7b74822438 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDEwOjI5NjY1NDpDMDJDQzk6MTAyQTE0Mjo2QjAwRjkxNCIsInZpc2l0b3JfaWQiOiI4NDM2MjEwNDc3MjUxNDkyMTE2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9eee69070ac21cb5537475bf5cafdf8442f266c8ff2819d5e04dd6bdd2c840e6 |
| hovercard-subject-tag | pull_request:1404280185 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/microsoft/TypeScript/54746/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/f7862b0d08113f2672da939726deeb5371d0ec33bf39c1e1ba6fb326b6fbc506/microsoft/TypeScript/pull/54746 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f7862b0d08113f2672da939726deeb5371d0ec33bf39c1e1ba6fb326b6fbc506/microsoft/TypeScript/pull/54746 |
| og:image:alt | 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";
// ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andrewbranch |
| hostname | github.com |
| expected-hostname | github.com |
| None | e208d86428ec00a57ade75058166297440e8128a01e5287c31a53dc042bbf187 |
| turbo-cache-control | no-cache |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7dafd017fb7809a839c443dba08622af38e63c09 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/microsoft/TypeScript/pull/54746#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F54746 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F54746 |
| Sign up | https://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 |
| Reload | https://github.com/microsoft/TypeScript/pull/54746 |
| Reload | https://github.com/microsoft/TypeScript/pull/54746 |
| Reload | https://github.com/microsoft/TypeScript/pull/54746 |
| microsoft | https://github.com/microsoft |
| TypeScript | https://github.com/microsoft/TypeScript |
| Code | https://github.com/microsoft/TypeScript |
| Issues5k (5k) | https://github.com/microsoft/TypeScript/issues |
| Pull requests309 (309) | https://github.com/microsoft/TypeScript/pulls |
| Actions | https://github.com/microsoft/TypeScript/actions |
| Projects | https://github.com/microsoft/TypeScript/projects |
| Wiki | https://github.com/microsoft/TypeScript/wiki |
| Security and quality | https://github.com/microsoft/TypeScript/security |
| Insights | https://github.com/microsoft/TypeScript/insights |
| https://github.com/microsoft/TypeScript |
| Andrew Branch (andrewbranch) | https://github.com/andrewbranch |
| main | https://github.com/microsoft/TypeScript/tree/main |
| type-only-import-ts-extensions | https://github.com/microsoft/TypeScript/tree/type-only-import-ts-extensions |
| Conversation | https://github.com/microsoft/TypeScript/pull/54746 |
| Commits3 (3) | https://github.com/microsoft/TypeScript/pull/54746/commits |
| Checks | https://github.com/microsoft/TypeScript/pull/54746/checks |
| Files changed | https://github.com/microsoft/TypeScript/pull/54746/files |
| Proposal: Always allow type-only imports to reference .ts extensions | https://github.com/microsoft/TypeScript/pull/54746#top |
| Andrew Branch (andrewbranch) | https://github.com/andrewbranch |
| main | https://github.com/microsoft/TypeScript/tree/main |
| type-only-import-ts-extensions | https://github.com/microsoft/TypeScript/tree/type-only-import-ts-extensions |
|
| https://github.com/andrewbranch |
| Andrew Branch (andrewbranch) | https://github.com/andrewbranch |
| Jun 22, 2023 | https://github.com/microsoft/TypeScript/pull/54746#issue-1770533709 |
| #51669 | https://github.com/microsoft/TypeScript/pull/51669 |
| #52230 | https://github.com/microsoft/TypeScript/pull/52230 |
| #51876 | https://github.com/microsoft/TypeScript/issues/51876 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/54746 |
|
| https://github.com/andrewbranch |
| Always allow type-only imports to reference .ts extensions | https://github.com/microsoft/TypeScript/pull/54746/commits/8a2bf48c965baa006b8dee229d1e3989bf7cb5ed |
| 8a2bf48 | https://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, 2023 | https://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, 2023 | https://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.ts | https://github.com/microsoft/TypeScript/pull/54746/files/8a2bf48c965baa006b8dee229d1e3989bf7cb5ed#diff-0bd6c4dfedc72c7e56a0d35aa344c479b75969f56f7805bc26194ae20e89ce3b |
| Rob Palmer (robpalme) | https://github.com/robpalme |
| Jun 23, 2023 | https://github.com/microsoft/TypeScript/pull/54746#discussion_r1239624230 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/54746 |
| Andrew Branch (andrewbranch) | https://github.com/andrewbranch |
| Jun 23, 2023 | https://github.com/microsoft/TypeScript/pull/54746#discussion_r1239968306 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/54746 |
|
| https://github.com/andrewbranch |
| Add test for .d.ts imports | https://github.com/microsoft/TypeScript/pull/54746/commits/85ee64a76b032355a5b92153b7f46facec4957a6 |
| 85ee64a | https://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.txt | https://github.com/microsoft/TypeScript/pull/54746/files/85ee64a76b032355a5b92153b7f46facec4957a6#diff-1a697a348a84ab523fe559d855c27f66026ab9547feb7f41c5daeb996d2a7561 |
| Sheetal Nandi (sheetalkamat) | https://github.com/sheetalkamat |
| Jun 26, 2023 | https://github.com/microsoft/TypeScript/pull/54746#discussion_r1242510384 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/54746 |
| Andrew Branch (andrewbranch) | https://github.com/andrewbranch |
| Jun 26, 2023 | https://github.com/microsoft/TypeScript/pull/54746#discussion_r1242518787 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://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:20 | https://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 page | https://github.com/microsoft/TypeScript/pull/54746 |
| https://github.com/microsoft/TypeScript/pull/54746#pullrequestreview-1515220326 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| #51876 (comment) | https://github.com/microsoft/TypeScript/issues/51876#issuecomment-1563244922 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/54746 |
| https://github.com/andrewbranch |
| Andrew Branch (andrewbranch) | https://github.com/andrewbranch |
| Jul 7, 2023 | https://github.com/microsoft/TypeScript/pull/54746#issuecomment-1625680050 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/54746 |
| https://github.com/jakebailey |
| Jake Bailey (jakebailey) | https://github.com/jakebailey |
| Jul 7, 2023 | https://github.com/microsoft/TypeScript/pull/54746#issuecomment-1625689223 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/54746 |
| https://github.com/andrewbranch |
| Andrew Branch (andrewbranch) | https://github.com/andrewbranch |
| Jul 7, 2023 | https://github.com/microsoft/TypeScript/pull/54746#issuecomment-1625701379 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/54746 |
| https://github.com/andrewbranch |
| Andrew Branch (andrewbranch) | https://github.com/andrewbranch |
| Jul 24, 2023 | https://github.com/microsoft/TypeScript/pull/54746#issuecomment-1648460647 |
| Please reload this page | https://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 more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/54746 |
| https://github.com/andrewbranch |
| Andrew Branch (andrewbranch) | https://github.com/andrewbranch |
| Jul 24, 2023 | https://github.com/microsoft/TypeScript/pull/54746#issuecomment-1648566958 |
| Please reload this page | https://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 |
| 5086178 | https://github.com/microsoft/TypeScript/pull/54746/commits/508617877d4d684c6f9e7e260b61a0bcdf3f876b |
| https://github.com/andrewbranch |
| Andrew Branch (andrewbranch) | https://github.com/andrewbranch |
| Jul 24, 2023 | https://github.com/microsoft/TypeScript/pull/54746#issuecomment-1648704355 |
| Jake Bailey (@jakebailey) | https://github.com/jakebailey |
| Please reload this page | https://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 more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/54746 |
| https://github.com/andrewbranch |
| Andrew Branch (andrewbranch) | https://github.com/andrewbranch |
| 2170e6c | https://github.com/microsoft/TypeScript/commit/2170e6c6cc12f08bfa2975955da2f145e4be6101 |
| Jul 24, 2023 | https://github.com/microsoft/TypeScript/pull/54746#event-9905578369 |
| https://github.com/andrewbranch |
| Andrew Branch (andrewbranch) | https://github.com/andrewbranch |
| July 24, 2023 23:12 | https://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, 2025 | https://github.com/microsoft/TypeScript/pull/54746#event-20419569952 |
| https://github.co/hiddenchars |
| https://github.com/microsoft/TypeScript/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in | https://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 page | https://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 page | https://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 |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |