-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Closed
Labels
Breaking ChangeWould introduce errors in existing codeWould introduce errors in existing codeCommittedThe team has roadmapped this issueThe team has roadmapped this issueFix AvailableA PR has been opened for this issueA PR has been opened for this issueSuggestionAn idea for TypeScriptAn idea for TypeScript
Milestone
Description
In TypeScript 7.0, we have no plans to reimplement --moduleResolution classic - its behavior does not model any resolution system in widespread use, and at best it's just an approximation that avoids Node.js style resolution. Users will be better of using nodenext or bundler if necessary.
In TypeScript 6.0, --moduleResolution classic will be deprecated. Users enabling it will get an error message that can only be suppressed via --ignoreDeprecations.
In 7.0, we are thinking the default will be bundler unless there is an appropriate moduleResolution target that matches a given --module target.
See more on deprecations/changes for 6.0/7.0 in #54500.
Metadata
Metadata
Assignees
Labels
Breaking ChangeWould introduce errors in existing codeWould introduce errors in existing codeCommittedThe team has roadmapped this issueThe team has roadmapped this issueFix AvailableA PR has been opened for this issueA PR has been opened for this issueSuggestionAn idea for TypeScriptAn idea for TypeScript