'vscode prevent automatic imports from specific node module

I have an angular/ionic project that has selenium-webdriver somewhere in the dependency tree and sometimes the auto-import imports wrong things from it (like: Alert or Storage)

Is it possible to prevent VS Code to import automatically things from some installed packaged? Like a auto import forbidden list?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source