Skip to content

Improved types map behavior #16685

@RyanCavanaugh

Description

@RyanCavanaugh
  • Add new tsserver commandline option --typesMapLocation filename.json
  • Types map looks like this:
{
  "typesMap": {
    /* the current hardcoded thing */
  }
  "simpleMap": ["jquery", "lodash", "leftpad", ...]
}
  • Apply this logic to configured and inferred projects (not just external)

/cc @billti

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScript

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions