René's URL Explorer Experiment


Title: Type does not follow workspace since 4.3.2 · Issue #44488 · microsoft/TypeScript · GitHub

Open Graph Title: Type does not follow workspace since 4.3.2 · Issue #44488 · microsoft/TypeScript

X Title: Type does not follow workspace since 4.3.2 · Issue #44488 · microsoft/TypeScript

Description: Bug Report Hello team, Not sure if it's a limitation or a bug, but when using types across workspaces, some of them are not following along. I can not explain why, but I have a small repro 🔎 Search Terms types, express, workspaces, refer...

Open Graph Description: Bug Report Hello team, Not sure if it's a limitation or a bug, but when using types across workspaces, some of them are not following along. I can not explain why, but I have a small repro 🔎 Search...

X Description: Bug Report Hello team, Not sure if it's a limitation or a bug, but when using types across workspaces, some of them are not following along. I can not explain why, but I have a small repro 🔎 Se...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Type does not follow workspace since 4.3.2","articleBody":"# Bug Report\r\n\r\nHello team,\r\nNot sure if it's a limitation or a bug, but when using types across workspaces, some of them are not following along.\r\nI can not explain why, but I have a small repro\r\n\r\n### 🔎 Search Terms\r\n\r\ntypes, express, workspaces, references,\r\n\r\n### 🕗 Version & Regression Information\r\n\r\n- This changed between versions 4.2.4 -> 4.3.2\r\n- Still happening with @next\r\n\r\n### ⏯ Playground Link\r\n\r\n- A working example without workspaces: https://www.typescriptlang.org/play?ssl=21&ssc=3&pln=13&pc=1#code/JYWwDg9gTgLgBAUwB5iggzuuAzKERwDkyqG6hA3AFBUAmCAxgDYCGaOArgHYMzARc46GGxgAJGDDABlBFABucgBQBvKnDiRYAGnVwO6DLo0swYXQF8AXHDUatMG1w4gARnLgAfITCjAuAObUGgYYAPw2AEqM0LQAPMJ+gdqIKGiYAHQAgmZMwAwsfAJeqaSZ0QCOHBjiLFy0THJxdQCeAHxtwXCmYBGl6ejZufmF-ILezkxM1BYAlDYACnggwIbNXO3UNMKiElKyCsp2mtCOcAAcAAzXxvqG6DbHGoTYEBAZACpIMIQ2SmgVFLpWZwAC8bVseg0GjQMA4UEEhFcbEoULgFj0GLmQA\r\n- The repro: https://github.com/bodinsamuel/ts-workspace-typing-issue\r\n\r\n```sh\r\ngit clone https://github.com/bodinsamuel/ts-workspace-typing-issue.git\r\ncd ts-workspace-typing-issue\r\nyarn\r\nyarn tsc -b\r\n```\r\n\r\n```sh\r\n$ /Users/samuelbodin/code/test-ts-workspace/node_modules/.bin/tsc -b\r\ntest2/index.ts:6:17 - error TS7006: Parameter 'req' implicitly has an 'any' type.\r\n\r\n6     'foo.Txt': (req, res) => {\r\n                  ~~~\r\n\r\ntest2/index.ts:6:22 - error TS7006: Parameter 'res' implicitly has an 'any' type.\r\n\r\n6     'foo.Txt': (req, res) => {\r\n```\r\n\r\n### 🙁 Actual behavior\r\n\r\nExpress `req` and `res` are typed as any\r\n![Screen Shot 2021-06-07 at 21 02 29](https://user-images.githubusercontent.com/1637651/121074411-1c7ed380-c7d4-11eb-8841-7e935d1594d2.png)\r\n\r\n\r\n### 🙂 Expected behavior\r\n\r\nCorrect express typing\r\n","author":{"url":"https://github.com/bodinsamuel","@type":"Person","name":"bodinsamuel"},"datePublished":"2021-06-07T19:09:32Z","url":"https://github.com/microsoft/TypeScript/issues/44488"}

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:0c075198-9d02-9abe-226a-ade3072de569
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id99C6:26ECEB:A7C14F:D905B9:6B00E3EE
html-safe-noncef285336acf2c96987cc4b18c8c114fc1c0ed095fc89f0ee856b630589ae52b4a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUM2OjI2RUNFQjpBN0MxNEY6RDkwNUI5OjZCMDBFM0VFIiwidmlzaXRvcl9pZCI6IjYzNzYyMzk3OTg2Nzk1NjExOTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac58b6ea6302092f6712f1e3256760747463c3852b857dd851e565856c60860e04
hovercard-subject-tagissue:913876190
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/44488/issue_layout
twitter:imagehttps://opengraph.githubassets.com/198c35743bb03d71d564e6a1fe68e92a7b74933bd792b4540a7a8e06497b69ec/microsoft/TypeScript/issues/44488
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/198c35743bb03d71d564e6a1fe68e92a7b74933bd792b4540a7a8e06497b69ec/microsoft/TypeScript/issues/44488
og:image:altBug Report Hello team, Not sure if it's a limitation or a bug, but when using types across workspaces, some of them are not following along. I can not explain why, but I have a small repro 🔎 Search...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebodinsamuel
hostnamegithub.com
expected-hostnamegithub.com
None27088b6977484d0d3321d9a11c907c6d6637b315cfa359ef7952dbf6292f9b14
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
release624179fb8b88d26ba5bba08894eb60a1c5a1d93d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/44488#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F44488
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%2F44488
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/44488
Reloadhttps://github.com/microsoft/TypeScript/issues/44488
Reloadhttps://github.com/microsoft/TypeScript/issues/44488
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
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/44488
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/44488
Type does not follow workspace since 4.3.2https://github.com/microsoft/TypeScript/issues/44488#top
https://github.com/orta
Has ReproThis issue has compiler-backed repros: https://aka.ms/ts-reproshttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Has%20Repro%22
Working as IntendedThe behavior described is the intended behavior; this is not a bughttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Working%20as%20Intended%22
TypeScript 4.4.0 (Beta)https://github.com/microsoft/TypeScript/milestone/141
https://github.com/bodinsamuel
Samuel Bodin (bodinsamuel)https://github.com/bodinsamuel
on Jun 7, 2021https://github.com/microsoft/TypeScript/issues/44488#issue-913876190
https://www.typescriptlang.org/play?ssl=21&ssc=3&pln=13&pc=1#code/JYWwDg9gTgLgBAUwB5iggzuuAzKERwDkyqG6hA3AFBUAmCAxgDYCGaOArgHYMzARc46GGxgAJGDDABlBFABucgBQBvKnDiRYAGnVwO6DLo0swYXQF8AXHDUatMG1w4gARnLgAfITCjAuAObUGgYYAPw2AEqM0LQAPMJ+gdqIKGiYAHQAgmZMwAwsfAJeqaSZ0QCOHBjiLFy0THJxdQCeAHxtwXCmYBGl6ejZufmF-ILezkxM1BYAlDYACnggwIbNXO3UNMKiElKyCsp2mtCOcAAcAAzXxvqG6DbHGoTYEBAZACpIMIQ2SmgVFLpWZwAC8bVseg0GjQMA4UEEhFcbEoULgFj0GLmQAhttps://www.typescriptlang.org/play?ssl=21&ssc=3&pln=13&pc=1#code/JYWwDg9gTgLgBAUwB5iggzuuAzKERwDkyqG6hA3AFBUAmCAxgDYCGaOArgHYMzARc46GGxgAJGDDABlBFABucgBQBvKnDiRYAGnVwO6DLo0swYXQF8AXHDUatMG1w4gARnLgAfITCjAuAObUGgYYAPw2AEqM0LQAPMJ+gdqIKGiYAHQAgmZMwAwsfAJeqaSZ0QCOHBjiLFy0THJxdQCeAHxtwXCmYBGl6ejZufmF-ILezkxM1BYAlDYACnggwIbNXO3UNMKiElKyCsp2mtCOcAAcAAzXxvqG6DbHGoTYEBAZACpIMIQ2SmgVFLpWZwAC8bVseg0GjQMA4UEEhFcbEoULgFj0GLmQA
https://github.com/bodinsamuel/ts-workspace-typing-issuehttps://github.com/bodinsamuel/ts-workspace-typing-issue
https://user-images.githubusercontent.com/1637651/121074411-1c7ed380-c7d4-11eb-8841-7e935d1594d2.png
Samuel Bodin (bodinsamuel)https://github.com/bodinsamuel
on Jun 7, 2021https://github.com/microsoft/TypeScript/issues/44488#event-4853931277
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Jun 10, 2021https://github.com/microsoft/TypeScript/issues/44488#issuecomment-859120210
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
on Jun 10, 2021https://github.com/microsoft/TypeScript/issues/44488#event-4874638488
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Orta Therox (orta)https://github.com/orta
on Jun 10, 2021https://github.com/microsoft/TypeScript/issues/44488#event-4874638742
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
TypeScript 4.4.0 (Beta)https://github.com/microsoft/TypeScript/milestone/141
on Jun 10, 2021https://github.com/microsoft/TypeScript/issues/44488#event-4874638872
https://github.com/bodinsamuel
Samuel Bodin (bodinsamuel)https://github.com/bodinsamuel
on Jun 11, 2021https://github.com/microsoft/TypeScript/issues/44488#issuecomment-859346663
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
https://github.com/orta
Orta Therox (orta)https://github.com/orta
on Jun 15, 2021https://github.com/microsoft/TypeScript/issues/44488#issuecomment-861541616
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Has ReproThis issue has compiler-backed repros: https://aka.ms/ts-reproshttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Has%20Repro%22
on Jun 15, 2021https://github.com/microsoft/TypeScript/issues/44488#event-4892022367
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Jun 15, 2021https://github.com/microsoft/TypeScript/issues/44488#issuecomment-861638528
Orta Therox (@orta)https://github.com/orta
https://github.com/orta
Orta Therox (orta)https://github.com/orta
on Jun 15, 2021https://github.com/microsoft/TypeScript/issues/44488#issuecomment-861664001
https://user-images.githubusercontent.com/49038/122091866-2d959900-ce01-11eb-8a4a-1ec720d50026.png
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
on Jun 16, 2021https://github.com/microsoft/TypeScript/issues/44488#issuecomment-862145682
Repro bothttps://github.com/microsoft/TypeScript-Twoslash-Repro-Action/tree/master/docs/user-facing.md
Commenthttps://github.com/microsoft/TypeScript/issues/44488#issuecomment-861541616
Orta Therox (@orta)https://github.com/orta
Commenthttps://github.com/microsoft/TypeScript/issues/44488#issuecomment-861541616
Orta Therox (@orta)https://github.com/orta
https://github.com/bodinsamuel
Samuel Bodin (bodinsamuel)https://github.com/bodinsamuel
on Jun 16, 2021https://github.com/microsoft/TypeScript/issues/44488#issuecomment-862172005
Orta Therox (orta)https://github.com/orta
Working as IntendedThe behavior described is the intended behavior; this is not a bughttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Working%20as%20Intended%22
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
on Jun 29, 2021https://github.com/microsoft/TypeScript/issues/44488#event-4955572017
https://github.com/orta
Orta Therox (orta)https://github.com/orta
on Jun 29, 2021https://github.com/microsoft/TypeScript/issues/44488#issuecomment-870843050
#14116 (comment)https://github.com/microsoft/TypeScript/issues/14116#issuecomment-280592571
#42620https://github.com/microsoft/TypeScript/pull/42620
Orta Therox (orta)https://github.com/orta
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jun 29, 2021https://github.com/microsoft/TypeScript/issues/44488#event-4955572614
https://github.com/bodinsamuel
Samuel Bodin (bodinsamuel)https://github.com/bodinsamuel
on Jun 30, 2021https://github.com/microsoft/TypeScript/issues/44488#issuecomment-871207974
Playgroundhttps://www.typescriptlang.org/play#code/C4TwDgpgBAysBOBLAdgcwGIFdkGMoF4oAKAQwC4oBnBFVASgID4oA3Ae0QBMBuAKF84QcAGxLxoAM2w5giNsirAxwABLBgYGBHgttRAB4UA3lEyUIlCgCUhbeJwA81JGgA0UAHKYAtgCNtWLhQAD6wNGiBOIzcUAC+dBTsXHy8EPpgdsBQKMDaEiQ40ABCbGzCkVBGvFDE4gCOFM60CawcPLyx-GkZ8Fk5eQXQXn4B0lBpuciclFAlZRVVNUT1FMg+-vAtSe2dvNTKahpaOnqLpuaWldU1UADkEqUAdAAq+sC3FMsQdQz4zGc3KA4eTUKDwAhg75QEgzNYjcHBAAFvlKwggJGQfEBnRqnXivCAA
microsofthttps://github.com/microsoft
on Oct 21, 2025https://github.com/microsoft/TypeScript/issues/44488#event-20417412737
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/44488
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/44488
Orta Therox (orta)https://github.com/orta
Has ReproThis issue has compiler-backed repros: https://aka.ms/ts-reproshttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Has%20Repro%22
Working as IntendedThe behavior described is the intended behavior; this is not a bughttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Working%20as%20Intended%22
TypeScript 4.4.0 (Beta)https://github.com/microsoft/TypeScript/milestone/141
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.