René's URL Explorer Experiment


Title: Use import types to refer to declarations in declaration emit by weswigham · Pull Request #24071 · microsoft/TypeScript · GitHub

Open Graph Title: Use import types to refer to declarations in declaration emit by weswigham · Pull Request #24071 · microsoft/TypeScript

X Title: Use import types to refer to declarations in declaration emit by weswigham · Pull Request #24071 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Use import types to refer to declarations in declaration emit by weswigham · Pull Request #24071 · microsoft/TypeScript

Open Graph Description: With this change, we consider all exported members as 'visible' for declaration emit, and then use import types to reference them. This means, eg, this: // @filename: file1.ts export class ...

X Description: With this change, we consider all exported members as 'visible' for declaration emit, and then use import types to reference them. This means, eg, this: // @filename: file1.ts expor...

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

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:612167f3-8130-a641-de0d-bb6d8db8cdb7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCFEC:A99C2:1309732:185B7E6:6B010F9A
html-safe-nonce3bbe6cd5a3a012b413cb3aa4848162bfb380193bfb69d5db799456d6d15147a6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRkVDOkE5OUMyOjEzMDk3MzI6MTg1QjdFNjo2QjAxMEY5QSIsInZpc2l0b3JfaWQiOiI0NDcyODEwMDAwNzU4MTQ5MDE5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac6324bf5529ebf401016d31dc8459710529cbd618919c859a3cbf9e570a1c3416
hovercard-subject-tagpull_request:187583053
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/24071/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5dd4a495708d3dff6dab6f5493e2f375c878668f872c26e1ecbcb6a51013befd/microsoft/TypeScript/pull/24071
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5dd4a495708d3dff6dab6f5493e2f375c878668f872c26e1ecbcb6a51013befd/microsoft/TypeScript/pull/24071
og:image:altWith this change, we consider all exported members as 'visible' for declaration emit, and then use import types to reference them. This means, eg, this: // @filename: file1.ts export class ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameweswigham
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/24071#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F24071
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%2F24071
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/24071
Reloadhttps://github.com/microsoft/TypeScript/pull/24071
Reloadhttps://github.com/microsoft/TypeScript/pull/24071
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
Wesley Wigham (weswigham)https://github.com/weswigham
microsoft:masterhttps://github.com/microsoft/TypeScript/tree/master
weswigham:import-types-of-different-stripeshttps://github.com/weswigham/TypeScript/tree/import-types-of-different-stripes
Conversationhttps://github.com/microsoft/TypeScript/pull/24071
Commits4 (4)https://github.com/microsoft/TypeScript/pull/24071/commits
Checkshttps://github.com/microsoft/TypeScript/pull/24071/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/24071/files
Use import types to refer to declarations in declaration emithttps://github.com/microsoft/TypeScript/pull/24071#top
Wesley Wigham (weswigham)https://github.com/weswigham
microsoft:masterhttps://github.com/microsoft/TypeScript/tree/master
weswigham:import-types-of-different-stripeshttps://github.com/weswigham/TypeScript/tree/import-types-of-different-stripes
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
May 11, 2018https://github.com/microsoft/TypeScript/pull/24071#issue-322451566
#9944https://github.com/microsoft/TypeScript/issues/9944
#22132https://github.com/microsoft/TypeScript/issues/22132
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/24071
Wesley Wigham (weswigham)https://github.com/weswigham
May 10, 2018 18:15https://github.com/microsoft/TypeScript/pull/24071#commits-pushed-147769a
https://github.com/weswigham
Stand up a simple implementation using import types for exports of mo…https://github.com/microsoft/TypeScript/pull/24071/commits/147769aeedbd69c0cdf50b9e3384b48a86d31d8c
147769ahttps://github.com/microsoft/TypeScript/pull/24071/commits/147769aeedbd69c0cdf50b9e3384b48a86d31d8c
https://github.com/weswigham
Ensure references exist to link to modules containing utilized ambien…https://github.com/microsoft/TypeScript/pull/24071/commits/cb0ea4c9ac1a99d06e9c166ea3381026f2cda9d9
cb0ea4chttps://github.com/microsoft/TypeScript/pull/24071/commits/cb0ea4c9ac1a99d06e9c166ea3381026f2cda9d9
https://github.com/weswigham
Accept baselines with new import type usagehttps://github.com/microsoft/TypeScript/pull/24071/commits/dbf48cbbde2c024dcd0fda34c7acf0ddbc589888
dbf48cbhttps://github.com/microsoft/TypeScript/pull/24071/commits/dbf48cbbde2c024dcd0fda34c7acf0ddbc589888
https://github.com/weswigham
Fix linthttps://github.com/microsoft/TypeScript/pull/24071/commits/9e969a45a2bc9628d2148ef7390005a66de8f4ad
9e969a4https://github.com/microsoft/TypeScript/pull/24071/commits/9e969a45a2bc9628d2148ef7390005a66de8f4ad
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
May 16, 2018 https://github.com/microsoft/TypeScript/pull/24071#pullrequestreview-120855153
View reviewed changes https://github.com/microsoft/TypeScript/pull/24071/files/9e969a45a2bc9628d2148ef7390005a66de8f4ad
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/24071/files/9e969a45a2bc9628d2148ef7390005a66de8f4ad#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
May 16, 2018https://github.com/microsoft/TypeScript/pull/24071#discussion_r188802206
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/24071
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/24071
Wesley Wigham (weswigham)https://github.com/weswigham
May 17, 2018https://github.com/microsoft/TypeScript/pull/24071#discussion_r188819434
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/24071
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/24071
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
May 17, 2018https://github.com/microsoft/TypeScript/pull/24071#discussion_r189083963
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/24071
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
May 16, 2018 https://github.com/microsoft/TypeScript/pull/24071#pullrequestreview-120855607
View reviewed changes https://github.com/microsoft/TypeScript/pull/24071/files/9e969a45a2bc9628d2148ef7390005a66de8f4ad
https://github.com/RomanHotsiy
Roman Hotsiy (RomanHotsiy)https://github.com/RomanHotsiy
May 17, 2018https://github.com/microsoft/TypeScript/pull/24071#issuecomment-389809484
Wesley Wigham (@weswigham)https://github.com/weswigham
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/24071
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
3fc727bhttps://github.com/microsoft/TypeScript/commit/3fc727b2564d1f03e63a671fbffe56368ea9320f
May 17, 2018https://github.com/microsoft/TypeScript/pull/24071#event-1632850919
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
May 17, 2018 20:08https://github.com/microsoft/TypeScript/pull/24071#event-1632851053
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
May 17, 2018 https://github.com/microsoft/TypeScript/pull/24071#ref-issue-299546061
Add quick fix for XXX has or is using name 'Foo' from external module "../bar" but cannot be named #22132 https://github.com/microsoft/TypeScript/issues/22132
https://github.com/simonbuchan
Simon Buchan (simonbuchan)https://github.com/simonbuchan
May 17, 2018https://github.com/microsoft/TypeScript/pull/24071#issuecomment-390019843
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/24071
Wesley Wigham (weswigham)https://github.com/weswigham
May 17, 2018 https://github.com/microsoft/TypeScript/pull/24071#ref-commit-5fdde50
https://github.com/weswigham
Merge master into release-2.9 (https://github.com/microsoft/TypeScript/commit/5fdde506ed05da4703b6685f9516660632002b1b
#24228https://github.com/microsoft/TypeScript/pull/24228
)https://github.com/microsoft/TypeScript/commit/5fdde506ed05da4703b6685f9516660632002b1b
5fdde50https://github.com/microsoft/TypeScript/commit/5fdde506ed05da4703b6685f9516660632002b1b
#24186https://github.com/microsoft/TypeScript/pull/24186
#23947https://github.com/microsoft/TypeScript/pull/23947
f41a96bhttps://github.com/microsoft/TypeScript/commit/f41a96b24d44a6b696d39eee9e91ef7f606bea52
7d2233ahttps://github.com/microsoft/TypeScript/commit/7d2233a00e5c6d794c1de32c03802e8ccce1914c
#24177https://github.com/microsoft/TypeScript/pull/24177
#24203https://github.com/microsoft/TypeScript/pull/24203
#24204https://github.com/microsoft/TypeScript/pull/24204
@typedefhttps://github.com/typedef
@callbackhttps://github.com/callback
@templatehttps://github.com/template
#24214https://github.com/microsoft/TypeScript/pull/24214
#24071https://github.com/microsoft/TypeScript/pull/24071
#24222https://github.com/microsoft/TypeScript/pull/24222
#24207https://github.com/microsoft/TypeScript/pull/24207
#24225https://github.com/microsoft/TypeScript/pull/24225
#24221https://github.com/microsoft/TypeScript/pull/24221
#24224https://github.com/microsoft/TypeScript/pull/24224
#24184https://github.com/microsoft/TypeScript/pull/24184
https://github.com/dfreeman
Dan Freeman (dfreeman)https://github.com/dfreeman
May 21, 2018 https://github.com/microsoft/TypeScript/pull/24071#ref-issue-298464247
TS4082: Default export of the module has or is using private name 'Ember.Helper' typed-ember/ember-cli-typescript#133 https://github.com/typed-ember/ember-cli-typescript/issues/133
https://github.com/n8agrin
Nathan Agrin (n8agrin)https://github.com/n8agrin
Jul 5, 2018https://github.com/microsoft/TypeScript/pull/24071#issuecomment-402849519
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/24071
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/24071
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Jul 5, 2018https://github.com/microsoft/TypeScript/pull/24071#issuecomment-402868766
Nathan Agrin (@n8agrin)https://github.com/n8agrin
#24666https://github.com/microsoft/TypeScript/issues/24666
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/24071
https://github.com/n8agrin
Nathan Agrin (n8agrin)https://github.com/n8agrin
Jul 11, 2018https://github.com/microsoft/TypeScript/pull/24071#issuecomment-404247515
Wesley Wigham (@weswigham)https://github.com/weswigham
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/24071
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
May 11, 2021 https://github.com/microsoft/TypeScript/pull/24071#ref-issue-888799976
Idea: Can declaration emit synthesize imports? #44044 https://github.com/microsoft/TypeScript/issues/44044
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Oct 21, 2025https://github.com/microsoft/TypeScript/pull/24071#event-20415662654
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%2F24071
https://github.com/mhegazy
Mohamed Hegazy (mhegazy) https://github.com/mhegazy
https://github.com/microsoft/TypeScript/pull/24071/files/9e969a45a2bc9628d2148ef7390005a66de8f4ad
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/24071
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/24071
https://github.com/weswigham
https://github.com/RomanHotsiy
https://github.com/simonbuchan
https://github.com/n8agrin
https://github.com/mhegazy
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.