Title: No import suggestions for transitive dependencies, even after initial import · Issue #38768 · microsoft/TypeScript · GitHub
Open Graph Title: No import suggestions for transitive dependencies, even after initial import · Issue #38768 · microsoft/TypeScript
X Title: No import suggestions for transitive dependencies, even after initial import · Issue #38768 · microsoft/TypeScript
Description: TypeScript Version: 3.8.3 Search Terms: Code import { CloudAppRestService } from '@exlibris/exl-cloudapp-angular-lib'; export class Test { rest: CloudAppRestService; config: CloudAppConfigService; } Expected behavior: According to this c...
Open Graph Description: TypeScript Version: 3.8.3 Search Terms: Code import { CloudAppRestService } from '@exlibris/exl-cloudapp-angular-lib'; export class Test { rest: CloudAppRestService; config: CloudAppConfigService; ...
X Description: TypeScript Version: 3.8.3 Search Terms: Code import { CloudAppRestService } from '@exlibris/exl-cloudapp-angular-lib'; export class Test { rest: CloudAppRestService; config: CloudAppConfigS...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/38768
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"No import suggestions for transitive dependencies, even after initial import","articleBody":"**TypeScript Version:** 3.8.3\r\n\r\n**Search Terms:**\r\n\r\n**Code**\r\n\r\n```ts\r\nimport { CloudAppRestService } from '@exlibris/exl-cloudapp-angular-lib';\r\n\r\nexport class Test {\r\n rest: CloudAppRestService;\r\n config: CloudAppConfigService;\r\n}\r\n```\r\n\r\n**Expected behavior:**\r\nAccording to [this comment](https://github.com/microsoft/TypeScript/issues/36042#issuecomment-576906063) from @andrewbranch , once an import is made anywhere in the project, other imports from the same package should be recommended. We're not seeing that behavior.\r\n\r\n**Actual behavior:**\r\nSecond import (even in the same file!) is not recommended\r\n\r\n\r\n\r\n**Related Issues:** \u003c!-- Did you find other bugs that looked similar? -->\r\n#36042, #30033, #35560","author":{"url":"https://github.com/jweisman","@type":"Person","name":"jweisman"},"datePublished":"2020-05-25T15:07:19Z","url":"https://github.com/microsoft/TypeScript/issues/38768"}
| 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:86a9646d-4c90-4146-372c-006e42af3a6e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CC40:1AE20C:6D6595:8C453A:6B00E13E |
| html-safe-nonce | ec21a38a7073159c07189c4b13bf268df275105453e07414a3f1cdeb5ea71969 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzQwOjFBRTIwQzo2RDY1OTU6OEM0NTNBOjZCMDBFMTNFIiwidmlzaXRvcl9pZCI6IjE1OTY5Njc5NTc0MDgzMDk1NjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 294615d09eed109e609c3a8b135fef0ebc032c1ee10e2a070da974fd60859c49 |
| hovercard-subject-tag | issue:624355424 |
| 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/38768/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d47b260f37c88216046635487c5e46a5c530ca82a62d2ce1cf7717ce8cacceae/microsoft/TypeScript/issues/38768 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d47b260f37c88216046635487c5e46a5c530ca82a62d2ce1cf7717ce8cacceae/microsoft/TypeScript/issues/38768 |
| og:image:alt | TypeScript Version: 3.8.3 Search Terms: Code import { CloudAppRestService } from '@exlibris/exl-cloudapp-angular-lib'; export class Test { rest: CloudAppRestService; config: CloudAppConfigService; ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jweisman |
| hostname | github.com |
| expected-hostname | github.com |
| None | 043c3f30fbcbe2c6c8e729e10cbbbc90c406546f9fbbb67c648d38f6b7d16daf |
| 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 | 5425dc24e8bd8d6fca9641a12afc984825a43875 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width