-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: Auto-importDomain: Completion ListsThe issue relates to showing completion lists in an editorThe issue relates to showing completion lists in an editorDomain: ES ModulesThe issue relates to import/export style module behaviorThe issue relates to import/export style module behaviorFix AvailableA PR has been opened for this issueA PR has been opened for this issue
Milestone
Description
//// @filename: ./node_modules/dependency/package.json
//// {
//// "type": "module",
//// "name": "dependency",
//// "version": "1.0.0"
//// "exports": {
//// ".": {
//// "types": "./lib/index.d.ts",
//// }
//// "./lol": {
//// "types": "./lib/lol.d.ts",
//// }
//// }
//// }
//// @filename: ./node_modules/dependency/lib/index.d.ts
//// export function fooFromIndex(): void;
//// @filename: ./node_modules/dependency/lib/lol.d.ts
//// export function fooFromLol(): void;
//// @filename: ./package.json
//// {
//// "type": "module",
//// "dependencies": {
//// "dependency": "^1.0.0"
//// }
//// }
//// @filename: ./src/foo.ts
//// import fooFrom/**/
Expected: completions for fooFromIndex
and fooFromLol
Actual: completions for fooFromIndex
and but not fooFromLol
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: Auto-importDomain: Completion ListsThe issue relates to showing completion lists in an editorThe issue relates to showing completion lists in an editorDomain: ES ModulesThe issue relates to import/export style module behaviorThe issue relates to import/export style module behaviorFix AvailableA PR has been opened for this issueA PR has been opened for this issue