[njs] Types: updated compilerOptions.lib in tsconfig.json.
Dmitry Volyntsev
xeioex at nginx.com
Thu Jun 15 00:54:38 UTC 2023
details: https://hg.nginx.org/njs/rev/c2bc1525be25
branches:
changeset: 2156:c2bc1525be25
user: Jakub Jirutka <jakub at jirutka.cz>
date: Sun Jun 11 00:43:33 2023 +0200
description:
Types: updated compilerOptions.lib in tsconfig.json.
diffstat:
test/ts/tsconfig.json | 40 +++++++++++++++++++++++++++++++++++++---
ts/tsconfig.json | 40 +++++++++++++++++++++++++++++++++++++---
2 files changed, 74 insertions(+), 6 deletions(-)
diffs (102 lines):
diff -r 5f91f2d50578 -r c2bc1525be25 test/ts/tsconfig.json
--- a/test/ts/tsconfig.json Sun Jun 11 00:37:36 2023 +0200
+++ b/test/ts/tsconfig.json Sun Jun 11 00:43:33 2023 +0200
@@ -3,10 +3,44 @@
"target": "ES5",
"module": "es2015",
"lib": [
- "ES2015",
+ "ES5",
+ // "ES2015.Collection",
+ "ES2015.Core",
+ // "ES2015.Generator",
+ "ES2015.Iterable", // since 0.5.0
+ "ES2015.Promise", // since 0.6.2
+ // "ES2015.Proxy",
+ // "ES2015.Reflect",
+ "ES2015.Symbol", // since 0.7.6
+ "ES2015.Symbol.WellKnown",
"ES2016.Array.Include",
- "ES2017.Object",
- "ES2017.String"
+ // "ES2017.Intl",
+ "ES2017.Object", // since 0.2.7
+ // "ES2017.SharedMemory",
+ "ES2017.String",
+ "ES2017.TypedArrays", // since 0.3.8
+ // "ES2018.AsyncGenerator",
+ // "ES2018.AsyncIterable",
+ // "ES2018.Intl",
+ "ES2018.Promise", // since 0.3.8
+ "ES2018.Regexp", // since 0.3.2
+ // "ES2019.Array",
+ // "ES2019.Intl",
+ // "ES2019.Object",
+ "ES2019.String", // since 0.3.4
+ "ES2019.Symbol",
+ // "ES2020.BigInt",
+ "ES2020.Date",
+ // "ES2020.Intl",
+ // "ES2020.Number",
+ "ES2020.Promise", // since 0.6.2
+ // "ES2020.SharedMemory",
+ // "ES2020.String",
+ // "ES2020.Symbol.WellKnown",
+ // "ES2021.Intl",
+ "ES2021.Promise", // since 0.6.2
+ "ES2021.String" // since 0.7.10
+ // "ES2021.WeakRef",
],
"noEmit": true,
"downlevelIteration": true,
diff -r 5f91f2d50578 -r c2bc1525be25 ts/tsconfig.json
--- a/ts/tsconfig.json Sun Jun 11 00:37:36 2023 +0200
+++ b/ts/tsconfig.json Sun Jun 11 00:43:33 2023 +0200
@@ -3,10 +3,44 @@
"target": "es5",
"module": "ES2015",
"lib": [
- "ES2015",
+ "ES5",
+ // "ES2015.Collection",
+ "ES2015.Core",
+ // "ES2015.Generator",
+ "ES2015.Iterable", // since 0.5.0
+ "ES2015.Promise", // since 0.6.2
+ // "ES2015.Proxy",
+ // "ES2015.Reflect",
+ "ES2015.Symbol", // since 0.7.6
+ "ES2015.Symbol.WellKnown",
"ES2016.Array.Include",
- "ES2017.Object",
- "ES2017.String"
+ // "ES2017.Intl",
+ "ES2017.Object", // since 0.2.7
+ // "ES2017.SharedMemory",
+ "ES2017.String",
+ "ES2017.TypedArrays", // since 0.3.8
+ // "ES2018.AsyncGenerator",
+ // "ES2018.AsyncIterable",
+ // "ES2018.Intl",
+ "ES2018.Promise", // since 0.3.8
+ "ES2018.Regexp", // since 0.3.2
+ // "ES2019.Array",
+ // "ES2019.Intl",
+ // "ES2019.Object",
+ "ES2019.String", // since 0.3.4
+ "ES2019.Symbol",
+ // "ES2020.BigInt",
+ "ES2020.Date",
+ // "ES2020.Intl",
+ // "ES2020.Number",
+ "ES2020.Promise", // since 0.6.2
+ // "ES2020.SharedMemory",
+ // "ES2020.String",
+ // "ES2020.Symbol.WellKnown",
+ // "ES2021.Intl",
+ "ES2021.Promise", // since 0.6.2
+ "ES2021.String" // since 0.7.10
+ // "ES2021.WeakRef",
],
"noEmit": true,
"strict": true,
More information about the nginx-devel
mailing list