Enable esModuleInterop compiler option and upgrade to TypeScript 4.6 (#3106)

*  Enable `esModuleInterop` for /core

*  Adjust imports in /core

*  Enable `esModuleInterop` for /cli

*  Adjust imports in /cli

*  Enable `esModuleInterop` for /nodes-base

*  Adjust imports in /nodes-base

*  Make imports consistent

* ⬆️ Upgrade TypeScript to 4.6 (#3109)

* ⬆️ Upgrade TypeScript to 4.6

* 📦 Update package-lock.json

* 🔧 Avoid erroring on untyped errors

* 📘 Fix type error

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
This commit is contained in:
Iván Ovejero
2022-04-08 23:32:08 +02:00
committed by GitHub
parent 37a6e329af
commit 027dfb2f0a
198 changed files with 1034 additions and 1169 deletions

View File

@@ -47,7 +47,7 @@
"prettier": "^2.3.2",
"ts-jest": "^27.1.3",
"tslint": "^6.1.2",
"typescript": "~4.3.5"
"typescript": "~4.6.0"
},
"dependencies": {
"jmespath": "^0.16.0",

View File

@@ -19,7 +19,8 @@
"declaration": true,
"outDir": "./dist/",
"target": "es2019",
"sourceMap": true
"sourceMap": true,
"useUnknownInCatchVariables": false,
},
"include": [
"**/*.d.ts",