Skip to content

inferred js projects do not get maxNodeModuleJsDepth set #11116

Closed
@mhegazy

Description

@mhegazy
mkdir test
cd test
npm init --y
npm install express3-handlebars
echo var exphbs = require('express3-handlebars'); > file.js
code .

now hover over exphbs, it shows any.

create an empty jsconfig.json and reload the project, hover over it is a function.

the issue seems to be that we do not set the maxNodeModuleJsDepthfor inferred projects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions