-
Notifications
You must be signed in to change notification settings - Fork 13k
Open
Labels
Breaking ChangeWould introduce errors in existing codeWould introduce errors in existing codeCommittedThe team has roadmapped this issueThe team has roadmapped this issueSuggestionAn idea for TypeScriptAn idea for TypeScript
Milestone
Description
For the sake of simplicity, TypeScript 7.0 will not implement support for the following --module
options:
amd
umd
systemjs
We believe most new code should use ECMAScript modules as that is the standard, as well as the common interface between bundlers and other tools. ECMAScript modules can largely serve the use-cases that these formats served, provided a mix of bundlers, import maps, or both).
In TypeScript 6.0, these options will be deprecated. TypeScript will issue an error if you use them unless you enable the ignoreDeprecations
flag.
In TypeScript 7.0, the options will not be recognized, and the defaults will be --module esnext
with --moduleResolution bundler
.
kirkwaiblinger, lishaduck, dimitropoulos, styfle, lin72h and 1 more
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 issueSuggestionAn idea for TypeScriptAn idea for TypeScript