Auto-imports from builder-util-runtime · Issue #38176 · microsoft/TypeScript (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
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.0
OS: Windows_NT x64 10.0.14393
Steps to Reproduce:
- Make a slim new angular project:
ng new <name> --skip-git --minimal
. This will setup the angular folder structure and run npm install on its own - Install electron-builder:
npm install electron-builder
. This will also install an npm package calledbuilder-util-runtime
, which exports a class calledGenericServerOptions
- In app.component.ts (or any .ts file for that matter), try to create a variable and type it as
GenericServerOptions
:let a: GenericServerOptions;
- 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.
- 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.
- Auto-imports and code fixes work for libraries like rxjs, but not for other libraries like electron-builder.
Does this issue occur when all extensions are disabled?: Yes sir