Skip to content

[typingsInstaller] Module imports should be a source of inference for auto-type aquisition #11256

@mhegazy

Description

@mhegazy

for instance:

var x = require("commander");

should cause an installation for @types/commander.

Also, a list of known builtin node-module names should cause @types/node to be installed. for instance

var fs = require("fs");

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issue

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions