feat: use ES2022 native error chaining to improve error reporting (#4431)

feat: use ES2022 native error chaining
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2022-10-26 11:55:39 +02:00
committed by GitHub
parent 3a9684df9f
commit 1f610b90f6
9 changed files with 69 additions and 74 deletions

View File

@@ -4,7 +4,7 @@
"module": "commonjs",
"moduleResolution": "node",
"target": "es2019",
"lib": ["es2019", "es2020"],
"lib": ["es2019", "es2020", "es2022.error"],
"removeComments": true,
"useUnknownInCatchVariables": true,
"forceConsistentCasingInFileNames": true,