Title: Should project references check for transitive references to do the declaration file include check · Issue #27200 · microsoft/TypeScript · GitHub
Open Graph Title: Should project references check for transitive references to do the declaration file include check · Issue #27200 · microsoft/TypeScript
X Title: Should project references check for transitive references to do the declaration file include check · Issue #27200 · microsoft/TypeScript
Description: Issue created from #27195 (review) Need to identify what needs to happen in this scenario: Does this work for transitive projectReferenes? I'm asking because I struggled with that too. // @filename: tsconfig.a.json {"compilerOptions": {"...
Open Graph Description: Issue created from #27195 (review) Need to identify what needs to happen in this scenario: Does this work for transitive projectReferenes? I'm asking because I struggled with that too. // @filename...
X Description: Issue created from #27195 (review) Need to identify what needs to happen in this scenario: Does this work for transitive projectReferenes? I'm asking because I struggled with that too. // @file...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/27200
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Should project references check for transitive references to do the declaration file include check","articleBody":"Issue created from https://github.com/Microsoft/TypeScript/pull/27195#pullrequestreview-156553913\r\nNeed to identify what needs to happen in this scenario:\r\n\r\nDoes this work for transitive projectReferenes? I'm asking because I struggled with that too.\r\n\r\n```ts\r\n// @filename: tsconfig.a.json\r\n{\"compilerOptions\": {\"composite\"}, \"files\": [\"a.ts\"]}\r\n\r\n// @filename: a.ts\r\nexport class A {}\r\n\r\n// @filename: tsconfig.b.json\r\n{\"compilerOptions\": {\"composite\"}, \"files\": [\"b.ts\"], \"references\": [{\"path\": \"tsconfig.a.json\"}]}\r\n\r\n// @filename: b.ts\r\nimport {A} from './a';\r\nexport const b = new A();\r\n\r\n// @filename: tsconfig.c.json\r\n{\"files\": [\"c.ts\"], \"references\": [{\"path\": \"tsconfig.b.json\"}]}\r\n\r\n// @filename: c.ts\r\nimport {b} from './b';\r\nconsole.log(b);\r\n```\r\n\r\nCompiling `tsconfig.c.json` should resolve imports as `b.d.ts` and `a.d.ts`. I guess the current implementation resolves imports to `b.d.ts` and `a.ts`.","author":{"url":"https://github.com/sheetalkamat","@type":"Person","name":"sheetalkamat"},"datePublished":"2018-09-18T21:51:11Z","url":"https://github.com/microsoft/TypeScript/issues/27200"}
| 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/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ef83cdf0-b00d-a190-d466-8c0c0a370da4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 85F4:172B92:2C61917:3B2B780:6B01CEAA |
| html-safe-nonce | 26d337a16c94688a772b2151f8c45cdaa2875f411a6065c72749f978d48d2754 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NUY0OjE3MkI5MjoyQzYxOTE3OjNCMkI3ODA6NkIwMUNFQUEiLCJ2aXNpdG9yX2lkIjoiODQyMjAyODIwNzQ3NzM0NTk2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e8d7ab12001390b92a36d561e1626f7bfb415fe3fba3ca6da7b89229963a02cf |
| hovercard-subject-tag | issue:361498062 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/27200/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ecc125fe014b3d39dc9b618d74ab6b551b722f1eb944b3fcb80ca4b2378d487e/microsoft/TypeScript/issues/27200 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ecc125fe014b3d39dc9b618d74ab6b551b722f1eb944b3fcb80ca4b2378d487e/microsoft/TypeScript/issues/27200 |
| og:image:alt | Issue created from #27195 (review) Need to identify what needs to happen in this scenario: Does this work for transitive projectReferenes? I'm asking because I struggled with that too. // @filename... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sheetalkamat |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width