Title: Auto-imports from builder-util-runtime · Issue #38176 · microsoft/TypeScript · GitHub
Open Graph Title: Auto-imports from builder-util-runtime · Issue #38176 · microsoft/TypeScript
X Title: Auto-imports from builder-util-runtime · Issue #38176 · microsoft/TypeScript
Description: Hello, thank you for your help! Here's my setup: Version: 1.43.2 (user setup) Commit: 0ba0ca52957102ca3527cf479571617f0de6ed50 Date: 2020-03-24T07:38:38.248Z Electron: 7.1.11 Chrome: 78.0.3904.130 Node.js: 12.8.1 V8: 7.8.279.23-electron....
Open Graph Description: Hello, thank you for your help! Here's my setup: Version: 1.43.2 (user setup) Commit: 0ba0ca52957102ca3527cf479571617f0de6ed50 Date: 2020-03-24T07:38:38.248Z Electron: 7.1.11 Chrome: 78.0.3904.130 ...
X Description: Hello, thank you for your help! Here's my setup: Version: 1.43.2 (user setup) Commit: 0ba0ca52957102ca3527cf479571617f0de6ed50 Date: 2020-03-24T07:38:38.248Z Electron: 7.1.11 Chrome: 78.0.3904....
Opengraph URL: https://github.com/microsoft/TypeScript/issues/38176
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Auto-imports from builder-util-runtime","articleBody":"\u003c!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->\r\n\u003c!-- Please search existing issues to avoid creating duplicates. -->\r\n\u003c!-- Also please test using the latest insiders build to make sure your issue has not already been fixed: https://code.visualstudio.com/insiders/ -->\r\n\r\n\u003c!-- Use Help > Report Issue to prefill these. -->\r\nHello, thank you for your help! Here's my setup:\r\nVersion: 1.43.2 (user setup)\r\nCommit: 0ba0ca52957102ca3527cf479571617f0de6ed50\r\nDate: 2020-03-24T07:38:38.248Z\r\nElectron: 7.1.11\r\nChrome: 78.0.3904.130\r\nNode.js: 12.8.1\r\nV8: 7.8.279.23-electron.0\r\nOS: Windows_NT x64 10.0.14393\r\n\r\nSteps to Reproduce:\r\n1. Make a slim new angular project: `ng new \u003cname> --skip-git --minimal` . This will setup the angular folder structure and run npm install on its own\r\n3. Install electron-builder: `npm install electron-builder`. This will also install an npm package called `builder-util-runtime`, which exports a class called `GenericServerOptions`\r\n4. In app.component.ts (or any .ts file for that matter), try to create a variable and type it as `GenericServerOptions`: `let a: GenericServerOptions;`\r\n5. VS code does not produce auto-import suggestions while I'm typing \"GenericServerOptions\" (which I would like it to), nor any other exports from that library.\r\n6. After I finish typing, VS code (rightly) red underlines \"GenericServerOptions\" with an error message \"Cannot find name ....\". When I do \"Ctrl+.\" on that erorr, there are no code actions available.\r\n7. Auto-imports and code fixes work for libraries like rxjs, but not for other libraries like electron-builder.\r\n\r\n\u003c!-- Launch with `code --disable-extensions` to check. -->\r\nDoes this issue occur when all extensions are disabled?: Yes sir\r\n","author":{"url":"https://github.com/s4m0r4m4","@type":"Person","name":"s4m0r4m4"},"datePublished":"2020-03-26T14:30:15Z","url":"https://github.com/microsoft/TypeScript/issues/38176"}
| 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:df13589c-4ca1-4483-6859-24142a29ebf6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EC4A:3D8CBB:C8C3A5:10A4ECA:6B00F4CD |
| html-safe-nonce | ad23d7c814604cff1e5700b2f8cda556b5c6ca798b6876b0bbff29e5a398361e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzRBOjNEOENCQjpDOEMzQTU6MTBBNEVDQTo2QjAwRjRDRCIsInZpc2l0b3JfaWQiOiIzNDgzMzI4OTk2OTQ5Njg1NDUzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3bbf2b508bc6696aaeae615dcc8068991884e0655127d5ad408449a2e8eb7979 |
| hovercard-subject-tag | issue:606668947 |
| 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/38176/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f4735df1a41bcab46c861903aacf42b6d77a1983a542149389782ca0361b9107/microsoft/TypeScript/issues/38176 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f4735df1a41bcab46c861903aacf42b6d77a1983a542149389782ca0361b9107/microsoft/TypeScript/issues/38176 |
| og:image:alt | Hello, thank you for your help! Here's my setup: Version: 1.43.2 (user setup) Commit: 0ba0ca52957102ca3527cf479571617f0de6ed50 Date: 2020-03-24T07:38:38.248Z Electron: 7.1.11 Chrome: 78.0.3904.130 ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | s4m0r4m4 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc |
| 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 | 9983dd5da06943f833c971dd5b6bc988e2858be5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width