VsCode auto import with TS aliases from node_modules

Viewed 20

I have an Angular app with @atmlib package. tsconfig's relevant settings are as follows:

{
    "compilerOptions": {
        "baseUrl": "./",
        "paths": {
            "@share/*": ["src/app/share/*"],
            "@proto/*": ["node_modules/@atmlib/proto/grpc-web/web/*"],
        }
    }
}

The @proto alias works fine, but VsCode's autocomplete doesn't use it: enter image description here

Though all the other aliases both work fine and auto importable: enter image description here

The question is how to make auto import work with aliased package from node_modules?

0 Answers
Related