Node.js use map files for parameter hints

I do not get proper parameter hinting in a node.js project:

The source is defined as following: 

Now there is a map file located alongside the module. But it seems it is not used by PHPStorm:

How can I configure proper type hinting?

0
1 comment

WebStorm doesn't (and never will) use sourcemaps for types hinting/completion. Sourcemaps are ONLY used by debugger. But, if both ES6 and generated .js files exist in the project, WebStorm normally uses the former for navigation/types resolving, and it doesn't need sourcemaps for this.

0

Please sign in to leave a comment.