René's URL Explorer Experiment


Title: Exported variable 'X' has or is using name 'Y' from external module "Z" but cannot be named. · Issue #20657 · microsoft/TypeScript · GitHub

Open Graph Title: Exported variable 'X' has or is using name 'Y' from external module "Z" but cannot be named. · Issue #20657 · microsoft/TypeScript

X Title: Exported variable 'X' has or is using name 'Y' from external module "Z" but cannot be named. · Issue #20657 · microsoft/TypeScript

Description: TypeScript Version: 2.7.0-dev.20171212 Code // thingA.ts export interface ThingA { } // thingB.ts export interface ThingB { } // things.ts export { ThingA } from "./thingA"; export * from "./thingB"; // index.ts import * as things from "...

Open Graph Description: TypeScript Version: 2.7.0-dev.20171212 Code // thingA.ts export interface ThingA { } // thingB.ts export interface ThingB { } // things.ts export { ThingA } from "./thingA"; export * from "./thingB...

X Description: TypeScript Version: 2.7.0-dev.20171212 Code // thingA.ts export interface ThingA { } // thingB.ts export interface ThingB { } // things.ts export { ThingA } from "./thingA"; export * from...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Exported variable 'X' has or is using name 'Y' from external module \"Z\" but cannot be named.","articleBody":"**TypeScript Version:**  2.7.0-dev.20171212\r\n\r\n**Code**\r\n\r\n```ts\r\n// thingA.ts\r\nexport interface ThingA { }\r\n\r\n// thingB.ts\r\nexport interface ThingB { }\r\n\r\n// things.ts\r\nexport { ThingA } from \"./thingA\";\r\nexport * from \"./thingB\";\r\n\r\n// index.ts\r\nimport * as things from \"./things\";\r\nexport const thing1 = (param: things.ThingA) => null;\r\nexport const thing2 = (param: things.ThingB) => null;\r\n\r\n// tsconfig.json\r\n{\r\n  \"compilerOptions\": {\r\n    \"declaration\": true\r\n  }\r\n}\r\n```\r\n\r\n**Expected behavior:**\r\n\r\nProject compiles without errors.\r\n\r\n**Actual behavior:**\r\n\r\n```\r\nindex.ts(3,14): error TS4023: Exported variable 'thing2' has or is using name 'ThingB' from external module \"/Users/rob/Projects/tsctest/thingB\" but cannot be named.\r\n```\r\n\r\n**Additional information:**\r\n\r\n@weswigham fixed the following very similar issues in #19852:\r\n\r\n* #5938\r\n* #8612\r\n* #19825\r\n\r\nIn fact, before his fix, line 2 of index.ts would also fail.\r\n\r\nI've pushed this repro as a project here: https://github.com/robyoder/tsctest","author":{"url":"https://github.com/robyoder","@type":"Person","name":"robyoder"},"datePublished":"2017-12-12T22:04:33Z","url":"https://github.com/microsoft/TypeScript/issues/20657"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a79197ff-2fe5-3f08-f38c-e13584c608bc
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA084:AC868:3FD29A9:542B8CF:6AFA3B21
html-safe-nonce851da3382da7b36ba27a47208623386aa7adabd60e9cde5a02475fbcfd081fdf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDg0OkFDODY4OjNGRDI5QTk6NTQyQjhDRjo2QUZBM0IyMSIsInZpc2l0b3JfaWQiOiI3NjQyMTcyMzUxMDg5MDk3NTA1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac8f6ba4b800f7b8cd430c40edf993d01e71eb613aadead4fe8b83425b4704559d
hovercard-subject-tagissue:281553618
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/20657/issue_layout
twitter:imagehttps://opengraph.githubassets.com/59b4aef1b0220809c5e4f11996b1e9e1b370d49269aa27de31b5ae28f06924c8/microsoft/TypeScript/issues/20657
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/59b4aef1b0220809c5e4f11996b1e9e1b370d49269aa27de31b5ae28f06924c8/microsoft/TypeScript/issues/20657
og:image:altTypeScript Version: 2.7.0-dev.20171212 Code // thingA.ts export interface ThingA { } // thingB.ts export interface ThingB { } // things.ts export { ThingA } from "./thingA"; export * from "./thingB...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerobyoder
hostnamegithub.com
expected-hostnamegithub.com
None612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7
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
release072e34035c13c31543fba9f025cbbbda4210dae4
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/20657#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F20657
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%2F20657
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/20657
Reloadhttps://github.com/microsoft/TypeScript/issues/20657
Reloadhttps://github.com/microsoft/TypeScript/issues/20657
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests340 (340)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/pulse
https://github.com/microsoft/TypeScript
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/20657
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/20657
Exported variable 'X' has or is using name 'Y' from external module "Z" but cannot be named.https://github.com/microsoft/TypeScript/issues/20657#top
https://github.com/weswigham
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
Domain: Declaration EmitThe issue relates to the emission of d.ts fileshttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20Declaration%20Emit%22
FixedA PR has been merged for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fixed%22
TypeScript 2.7https://github.com/microsoft/TypeScript/milestone/56
https://github.com/robyoder
Rob Yoder (robyoder)https://github.com/robyoder
on Dec 12, 2017https://github.com/microsoft/TypeScript/issues/20657#issue-281553618
Wesley Wigham (@weswigham)https://github.com/weswigham
#19852https://github.com/microsoft/TypeScript/pull/19852
Object detection for "Exported variable has or is using name from external module" #5938https://github.com/microsoft/TypeScript/issues/5938
“cannot be named” when generating declarations for re-exported classes #8612https://github.com/microsoft/TypeScript/issues/8612
Declaration emit for aliased exports used in export assignments is broken #19825https://github.com/microsoft/TypeScript/issues/19825
https://github.com/robyoder/tsctesthttps://github.com/robyoder/tsctest
Wesley Wigham (weswigham)https://github.com/weswigham
on Dec 12, 2017https://github.com/microsoft/TypeScript/issues/20657#event-1384535470
Wesley Wigham (weswigham)https://github.com/weswigham
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
Domain: Declaration EmitThe issue relates to the emission of d.ts fileshttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20Declaration%20Emit%22
on Dec 12, 2017https://github.com/microsoft/TypeScript/issues/20657#event-1384535820
Wesley Wigham (weswigham)https://github.com/weswigham
TypeScript 2.7https://github.com/microsoft/TypeScript/milestone/56
on Dec 12, 2017https://github.com/microsoft/TypeScript/issues/20657#event-1384536026
Wesley Wigham (weswigham)https://github.com/weswigham
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#20661https://github.com/microsoft/TypeScript/pull/20661
on Dec 13, 2017https://github.com/microsoft/TypeScript/issues/20657#event-1386585930
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
FixedA PR has been merged for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fixed%22
on Jan 11, 2018https://github.com/microsoft/TypeScript/issues/20657#event-1420334666
https://github.com/johnpapa
John Papa (johnpapa)https://github.com/johnpapa
on Jan 18, 2018https://github.com/microsoft/TypeScript/issues/20657#issuecomment-358770028
Mohamed Hegazy (@mhegazy)https://github.com/mhegazy
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Jan 18, 2018https://github.com/microsoft/TypeScript/issues/20657#issuecomment-358772952
https://github.com/robyoder
Rob Yoder (robyoder)https://github.com/robyoder
on Jan 20, 2018https://github.com/microsoft/TypeScript/issues/20657#issuecomment-359183018
#21313https://github.com/microsoft/TypeScript/issues/21313
microsofthttps://github.com/microsoft
on Jul 3, 2018https://github.com/microsoft/TypeScript/issues/20657#event-1712804354
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/20657
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/20657
Wesley Wigham (weswigham)https://github.com/weswigham
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
Domain: Declaration EmitThe issue relates to the emission of d.ts fileshttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20Declaration%20Emit%22
FixedA PR has been merged for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fixed%22
TypeScript 2.7https://github.com/microsoft/TypeScript/milestone/56
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.