-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Closed as not planned
Closed as not planned
Copy link
Labels
7.0 LS MigrationBugA bug in TypeScriptA bug in TypeScriptDomain: LS: Auto-importFix AvailableA PR has been opened for this issueA PR has been opened for this issueRescheduledThis issue was previously scheduled to an earlier milestoneThis issue was previously scheduled to an earlier milestone
Milestone
Description
TypeScript Version: 3.8.1-rc
Search Terms: auto import index
Code
// tsconfig.json
{
"compilerOptions": {
"module": "commonjs" // ensures `importModuleSpecifierEnding` defaults to `Ending.Minimal`
}
}
// a/index.ts
export const aIndex = 0;
// a.ts
export {}
// index.ts
aIndex/* auto-import here */Expected behavior:
Module specifier from auto-import is "./a/index"
Actual behavior:
Module specifier is "./a"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
7.0 LS MigrationBugA bug in TypeScriptA bug in TypeScriptDomain: LS: Auto-importFix AvailableA PR has been opened for this issueA PR has been opened for this issueRescheduledThis issue was previously scheduled to an earlier milestoneThis issue was previously scheduled to an earlier milestone