Skip to content

Incorrect auto-import module specifier generated from typesVersions #49034

@andrewbranch

Description

@andrewbranch

Bug Report

The typesVersions from unified@9 creates an auto-import suggestion that doesn’t resolve:

// @Filename: /node_modules/unified/package.json
//// {
////   "name": "unified",
////   "types": "types/ts3.4/index.d.ts",
////   "typesVersions": {
////     ">=4.0": {
////       "types/ts3.4/*": [
////         "types/ts4.0/*"
////       ]
////     }
////   }
//// }

image

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFix AvailableA PR has been opened 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