mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-19 00:42:28 -05:00
Track minimum language version for various language features (#57670)
This commit is contained in:
@@ -144,6 +144,9 @@ export const inverseJsxOptionMap = new Map(mapIterator(jsxOptionMap.entries(), (
|
||||
// order in the generated program (see `getDefaultLibPriority` in program.ts). This
|
||||
// order also affects overload resolution when a type declared in one lib is
|
||||
// augmented in another lib.
|
||||
// NOTE: We must reevaluate the target for upcoming features when each successive TC39 edition is ratified in
|
||||
// June of each year. This includes changes to `LanguageFeatureMinimumTarget`, `ScriptTarget`,
|
||||
// transformers/esnext.ts, commandLineParser.ts, and the contents of each lib/esnext.*.d.ts file.
|
||||
const libEntries: [string, string][] = [
|
||||
// JavaScript only
|
||||
["es5", "lib.es5.d.ts"],
|
||||
|
||||
Reference in New Issue
Block a user