René's URL Explorer Experiment


Title: With project references, some cross-package imports of inferred types are emitted with relative paths · Issue #39117 · microsoft/TypeScript · GitHub

Open Graph Title: With project references, some cross-package imports of inferred types are emitted with relative paths · Issue #39117 · microsoft/TypeScript

X Title: With project references, some cross-package imports of inferred types are emitted with relative paths · Issue #39117 · microsoft/TypeScript

Description: TypeScript Version: 3.9.5 (also repros with nightly) Search Terms: project references, declaration files, tsconfig paths, inferred types Code The repro requires a monorepo with project references plus paths in the tsconfig. Full repro wi...

Open Graph Description: TypeScript Version: 3.9.5 (also repros with nightly) Search Terms: project references, declaration files, tsconfig paths, inferred types Code The repro requires a monorepo with project references p...

X Description: TypeScript Version: 3.9.5 (also repros with nightly) Search Terms: project references, declaration files, tsconfig paths, inferred types Code The repro requires a monorepo with project references p...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"With project references, some cross-package imports of inferred types are emitted with relative paths","articleBody":"\u003c!-- 🚨 STOP 🚨 STOP 🚨 STOP 🚨\r\n\r\nHalf of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a *bug*, please read the FAQ first, especially the Common \"Bugs\" That Aren't Bugs section!\r\n\r\nPlease help us by doing the following steps before logging an issue:\r\n  * Search: https://github.com/Microsoft/TypeScript/search?type=Issues\r\n  * Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ\r\n\r\nPlease fill in the *entire* template below.\r\n-->\r\n\r\n\u003c!--\r\nPlease try to reproduce the issue with the latest published version. It may have already been fixed.\r\nFor npm: `typescript@next`\r\nThis is also the 'Nightly' version in the playground: http://www.typescriptlang.org/play/?ts=Nightly\r\n-->\r\n**TypeScript Version:**  3.9.5 (also repros with nightly)\r\n\r\n\u003c!-- Search terms you tried before logging this (so others can find this issue more easily) -->\r\n**Search Terms:** project references, declaration files, tsconfig paths, inferred types\r\n\r\n**Code**\r\n\r\nThe repro requires a monorepo with project references plus `paths` in the tsconfig. Full repro with the problematic compiled output checked in here: https://github.com/ecraig12345/learn-a/tree/inferred-relative-imports (it's fairly minimal but may still include a few settings which turn out to be tangential to the issue, sorry)\r\n\r\nHere's a summary...\r\n\r\n`@fluentui/pkg2` depends on `@fluentui/pkg1`, and both live in the same monorepo under a `packages` folder.\r\n\r\n[`pkg2`'s tsconfig](https://github.com/ecraig12345/learn-a/blob/inferred-relative-imports/packages/pkg2/tsconfig.json) has a project reference pointing to `pkg1`, and both build with `composite: true`.\r\n\r\nThey inherit from a [shared tsconfig](https://github.com/ecraig12345/learn-a/blob/inferred-relative-imports/tsconfig.json) which has a path config like this (to allow imports directly from the root of each package):\r\n```\r\n\"baseUrl\": \".\",\r\n\"paths\": {\r\n  \"@fluentui/*\": [\"packages/*/src\"]\r\n}\r\n```\r\n\r\nThe problem comes when you have a file in one package ([`pkg2/src/index.ts`](https://github.com/ecraig12345/learn-a/blob/inferred-relative-imports/packages/pkg2/src/index.ts) in the repro) which has an implicit/inferred reference to a type from another local project-referenced package. \r\n```ts\r\nimport { IThings } from '@fluentui/pkg1';\r\n\r\nexport function fn4() { // inferred return type: IThings from pkg1\r\n  const a: IThings = { thing1: { a: 'b' } };\r\n  return a.thing1;\r\n}\r\n```\r\nThis inferred type need not be stated locally, but it will show up in the declaration file as an inline `import()`.\r\n\r\n**Expected behavior:**\r\n\r\nCompile each package with `tsc` (or in the repro, run `yarn build` from the root).\r\n\r\n`pkg2`'s `index.d.ts` looks like this:\r\n```ts\r\nexport declare function fn4(): import(\"@fluentui/pkg1\").IThing;\r\n```\r\n\r\n**Actual behavior:**\r\n\r\n[`pkg2`'s `index.d.ts`](https://github.com/ecraig12345/learn-a/blob/inferred-relative-imports/packages/pkg2/lib/src/index.d.ts) looks like this, which will break consumers:\r\n```ts\r\nexport declare function fn4(): import(\"../../pkg1/src\").IThing;\r\n```\r\n\r\n`pkg2/src/index.ts` output also adds an `src` folder under `lib`, which I wouldn't expect (`pkg2/lib/src/index.{js,d.ts}`), but this is probably unrelated.\r\n\r\nVariants:\r\n- Same behavior if `-b` is added to the build command.\r\n- Same behavior if using `rootDir` instead of `include`, just different output directory structure.\r\n- Same behavior if the config inheritance is removed and `paths` config is moved to each project.\r\n- Without project references, you end up with a directory structure like this, which I also don't understand, but is not the same issue:\r\n```\r\npkg2/\r\n  lib/\r\n    pkg1/src/\u003cfiles>\r\n    pkg2/src/\u003cfiles>\r\n```\r\n\r\n**Playground Link:** \u003c!-- A link to a TypeScript Playground \"Share\" link which demonstrates this behavior --> can't be shown on playground\r\n\r\n**Related Issues:** \u003c!-- Did you find other bugs that looked similar? --> didn't see anything else quite like this","author":{"url":"https://github.com/ecraig12345","@type":"Person","name":"ecraig12345"},"datePublished":"2020-06-17T18:18:59Z","url":"https://github.com/microsoft/TypeScript/issues/39117"}

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:1785e6b9-1406-23de-3827-24f4c96a30ee
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA6E4:785A9:2B26A35:36CD171:6B01AC6D
html-safe-nonce31bfc6b6b0b94c3407424817d5dbb01a31c8bc9476e579db4e287fab3c5a44f8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNkU0Ojc4NUE5OjJCMjZBMzU6MzZDRDE3MTo2QjAxQUM2RCIsInZpc2l0b3JfaWQiOiI1NTUzODc0NzQ4MjkyODM2NDYxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac24789b673f5a6e9c05e2d1d95604c940cd77201f167ecefc085954370971a62a
hovercard-subject-tagissue:640648018
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/39117/issue_layout
twitter:imagehttps://opengraph.githubassets.com/21f193566fc49fc478dfb705235cf320685cc309fd22def3bce81c9d7b8fc5ab/microsoft/TypeScript/issues/39117
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/21f193566fc49fc478dfb705235cf320685cc309fd22def3bce81c9d7b8fc5ab/microsoft/TypeScript/issues/39117
og:image:altTypeScript Version: 3.9.5 (also repros with nightly) Search Terms: project references, declaration files, tsconfig paths, inferred types Code The repro requires a monorepo with project references p...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameecraig12345
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/39117#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F39117
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%2F39117
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/39117
Reloadhttps://github.com/microsoft/TypeScript/issues/39117
Reloadhttps://github.com/microsoft/TypeScript/issues/39117
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests312 (312)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/39117
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/39117
#42224https://github.com/microsoft/TypeScript/pull/42224
With project references, some cross-package imports of inferred types are emitted with relative pathshttps://github.com/microsoft/TypeScript/issues/39117#top
#42224https://github.com/microsoft/TypeScript/pull/42224
https://github.com/sheetalkamat
Fix AvailableA PR has been opened for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fix%20Available%22
Needs InvestigationThis issue needs a team member to investigate its status.https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Needs%20Investigation%22
RescheduledThis issue was previously scheduled to an earlier milestonehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Rescheduled%22
TypeScript 4.2.0https://github.com/microsoft/TypeScript/milestone/129
https://github.com/ecraig12345
Elizabeth Craig (ecraig12345)https://github.com/ecraig12345
on Jun 17, 2020https://github.com/microsoft/TypeScript/issues/39117#issue-640648018
https://github.com/ecraig12345/learn-a/tree/inferred-relative-importshttps://github.com/ecraig12345/learn-a/tree/inferred-relative-imports
pkg2's tsconfighttps://github.com/ecraig12345/learn-a/blob/inferred-relative-imports/packages/pkg2/tsconfig.json
shared tsconfighttps://github.com/ecraig12345/learn-a/blob/inferred-relative-imports/tsconfig.json
pkg2/src/index.tshttps://github.com/ecraig12345/learn-a/blob/inferred-relative-imports/packages/pkg2/src/index.ts
pkg2's index.d.tshttps://github.com/ecraig12345/learn-a/blob/inferred-relative-imports/packages/pkg2/lib/src/index.d.ts
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Needs InvestigationThis issue needs a team member to investigate its status.https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Needs%20Investigation%22
on Jun 17, 2020https://github.com/microsoft/TypeScript/issues/39117#event-3455166146
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
on Jun 17, 2020https://github.com/microsoft/TypeScript/issues/39117#event-3455166291
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
TypeScript 4.1.0https://github.com/microsoft/TypeScript/milestone/124
on Jun 17, 2020https://github.com/microsoft/TypeScript/issues/39117#event-3455168833
https://github.com/robpalme
Rob Palmer (robpalme)https://github.com/robpalme
on Jun 23, 2020https://github.com/microsoft/TypeScript/issues/39117#issuecomment-648082481
Elizabeth Craig (@ecraig12345)https://github.com/ecraig12345
#38111https://github.com/microsoft/TypeScript/issues/38111
therehttps://github.com/microsoft/TypeScript/issues/38111#issuecomment-648079319
https://github.com/daniele-orlando
Daniele Orlando (daniele-orlando)https://github.com/daniele-orlando
on Aug 4, 2020https://github.com/microsoft/TypeScript/issues/39117#issuecomment-668298082
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
RescheduledThis issue was previously scheduled to an earlier milestonehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Rescheduled%22
on Dec 11, 2020https://github.com/microsoft/TypeScript/issues/39117#event-4101687116
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
TypeScript 4.1.0https://github.com/microsoft/TypeScript/milestone/124
TypeScript 4.2.0https://github.com/microsoft/TypeScript/milestone/129
on Dec 11, 2020https://github.com/microsoft/TypeScript/issues/39117#event-4101701570
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
on Jan 5, 2021https://github.com/microsoft/TypeScript/issues/39117#event-4172551020
If import is used in the file, prefer that import specifier over calc…https://github.com/microsoft/TypeScript/commit/685f2b66b7c4c67d42904e9b619c0ecf894a95d6
https://docs.github.com/articles/closing-issues-via-commit-messages
685f2b6https://github.com/microsoft/TypeScript/commit/685f2b66b7c4c67d42904e9b619c0ecf894a95d6
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Fix AvailableA PR has been opened for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fix%20Available%22
on Jan 5, 2021https://github.com/microsoft/TypeScript/issues/39117#event-4172551913
https://github.com/sheetalkamat
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
on Jan 5, 2021https://github.com/microsoft/TypeScript/issues/39117#issuecomment-754970436
#42224https://github.com/microsoft/TypeScript/pull/42224
https://github.com/ecraig12345
Elizabeth Craig (ecraig12345)https://github.com/ecraig12345
on Jan 6, 2021https://github.com/microsoft/TypeScript/issues/39117#issuecomment-754981442
https://github.com/sheetalkamat
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
on Jan 6, 2021https://github.com/microsoft/TypeScript/issues/39117#issuecomment-754988813
#26341https://github.com/microsoft/TypeScript/pull/26341
https://github.com/ecraig12345
Elizabeth Craig (ecraig12345)https://github.com/ecraig12345
on Jan 6, 2021https://github.com/microsoft/TypeScript/issues/39117#issuecomment-754993694
https://github.com/robpalme
Rob Palmer (robpalme)https://github.com/robpalme
on Jan 6, 2021https://github.com/microsoft/TypeScript/issues/39117#issuecomment-755189433
Sheetal Nandi (@sheetalkamat)https://github.com/sheetalkamat
#42224https://github.com/microsoft/TypeScript/pull/42224
Elizabeth Craig (@ecraig12345)https://github.com/ecraig12345
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
on Jan 6, 2021https://github.com/microsoft/TypeScript/issues/39117#event-4176672865
use project relative preference for declaration emithttps://github.com/microsoft/TypeScript/commit/362aeab2bdc8a95b0c51bfb81b71165ff6941a52
https://docs.github.com/articles/closing-issues-via-commit-messages
362aeabhttps://github.com/microsoft/TypeScript/commit/362aeab2bdc8a95b0c51bfb81b71165ff6941a52
https://github.com/sheetalkamat
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
on Jan 6, 2021https://github.com/microsoft/TypeScript/issues/39117#issuecomment-755568566
#42232https://github.com/microsoft/TypeScript/pull/42232
#26341https://github.com/microsoft/TypeScript/pull/26341
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#42224https://github.com/microsoft/TypeScript/pull/42224
on Jan 8, 2021https://github.com/microsoft/TypeScript/issues/39117#event-4186409896
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
on Jan 8, 2021https://github.com/microsoft/TypeScript/issues/39117#event-4186410000
If import is used in the file, prefer that import specifier over calc…https://github.com/microsoft/TypeScript/commit/66ba15a3fda5862b75cde9b15b7956045d1d1bae
https://docs.github.com/articles/closing-issues-via-commit-messages
66ba15ahttps://github.com/microsoft/TypeScript/commit/66ba15a3fda5862b75cde9b15b7956045d1d1bae
https://github.com/Philipp91
Philipp Keck (Philipp91)https://github.com/Philipp91
on Jan 9, 2021https://github.com/microsoft/TypeScript/issues/39117#issuecomment-757345340
https://github.com/ecraig12345
Elizabeth Craig (ecraig12345)https://github.com/ecraig12345
on Jan 11, 2021https://github.com/microsoft/TypeScript/issues/39117#issuecomment-758024506
#42224https://github.com/microsoft/TypeScript/pull/42224
https://github.com/Philipp91
Philipp Keck (Philipp91)https://github.com/Philipp91
on Jan 11, 2021https://github.com/microsoft/TypeScript/issues/39117#issuecomment-758220634
Elizabeth Craig (@ecraig12345)https://github.com/ecraig12345
mui/material-ui#24112https://github.com/mui/material-ui/issues/24112
Rob Palmer (@robpalme)https://github.com/robpalme
https://github.com/eps1lon
Sebastian "Sebbie" Silbermann (eps1lon)https://github.com/eps1lon
on Jan 13, 2021https://github.com/microsoft/TypeScript/issues/39117#issuecomment-759204378
Sheetal Nandi (@sheetalkamat)https://github.com/sheetalkamat
#42232https://github.com/microsoft/TypeScript/pull/42232
https://app.circleci.com/pipelines/github/mui-org/material-ui/34050/workflows/861b9ce6-4157-442d-925c-e09f67a21790/jobs/213656/parallel-runs/0/steps/0-110https://app.circleci.com/pipelines/github/mui-org/material-ui/34050/workflows/861b9ce6-4157-442d-925c-e09f67a21790/jobs/213656/parallel-runs/0/steps/0-110
https://github.com/sheetalkamat
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
on Jan 14, 2021https://github.com/microsoft/TypeScript/issues/39117#issuecomment-760470118
#42232https://github.com/microsoft/TypeScript/pull/42232
https://github.com/eps1lon
Sebastian "Sebbie" Silbermann (eps1lon)https://github.com/eps1lon
on Jan 14, 2021https://github.com/microsoft/TypeScript/issues/39117#issuecomment-760500646
#42232https://github.com/microsoft/TypeScript/pull/42232
Sheetal Nandi (@sheetalkamat)https://github.com/sheetalkamat
https://github.com/eps1lon
Sebastian "Sebbie" Silbermann (eps1lon)https://github.com/eps1lon
on Jan 14, 2021https://github.com/microsoft/TypeScript/issues/39117#issuecomment-760515673
Sheetal Nandi (@sheetalkamat)https://github.com/sheetalkamat
#42349https://github.com/microsoft/TypeScript/issues/42349
Zzzen (Zzzen)https://github.com/Zzzen
on Jan 16, 2021https://github.com/microsoft/TypeScript/issues/39117#event-4214112267
If import is used in the file, prefer that import specifier over calc…https://github.com/Zzzen/TypeScript/commit/564ef657725614ad5f8f0470cf54273ad015d6c9
https://docs.github.com/articles/closing-issues-via-commit-messages
564ef65https://github.com/Zzzen/TypeScript/commit/564ef657725614ad5f8f0470cf54273ad015d6c9
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
on Apr 29, 2021https://github.com/microsoft/TypeScript/issues/39117#event-4666008388
use project relative preference for declaration emithttps://github.com/microsoft/TypeScript/commit/3fd8a5794e90e26b5b5745252cb235a18e9de44d
https://docs.github.com/articles/closing-issues-via-commit-messages
3fd8a57https://github.com/microsoft/TypeScript/commit/3fd8a5794e90e26b5b5745252cb235a18e9de44d
Use project relative preference for declaration emit (#42232)https://github.com/microsoft/TypeScript/commit/54096bdb96900c6df34eddcbb6d2b00cd9ee53c4
#42232https://github.com/microsoft/TypeScript/pull/42232
https://docs.github.com/articles/closing-issues-via-commit-messages
54096bdhttps://github.com/microsoft/TypeScript/commit/54096bdb96900c6df34eddcbb6d2b00cd9ee53c4
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/39117
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/39117
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
Fix AvailableA PR has been opened for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fix%20Available%22
Needs InvestigationThis issue needs a team member to investigate its status.https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Needs%20Investigation%22
RescheduledThis issue was previously scheduled to an earlier milestonehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Rescheduled%22
TypeScript 4.2.0https://github.com/microsoft/TypeScript/milestone/129
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.