From ca40d7f447fbd420a6281c9b9e36b1dee2993a35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Fri, 8 Apr 2022 15:01:29 +0200 Subject: [PATCH] :wrench: Avoid erroring on untyped errors --- packages/core/tsconfig.json | 1 + packages/editor-ui/tsconfig.json | 1 + packages/nodes-base/tsconfig.json | 3 ++- packages/workflow/tsconfig.json | 3 ++- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/core/tsconfig.json b/packages/core/tsconfig.json index 94d183cd86f71..70e7a5777b969 100644 --- a/packages/core/tsconfig.json +++ b/packages/core/tsconfig.json @@ -19,6 +19,7 @@ "target": "es2019", "sourceMap": true, "esModuleInterop": true, + "useUnknownInCatchVariables": false, }, "include": [ "**/*.d.ts", diff --git a/packages/editor-ui/tsconfig.json b/packages/editor-ui/tsconfig.json index dc9f79a4e3829..8e6dc8f622821 100644 --- a/packages/editor-ui/tsconfig.json +++ b/packages/editor-ui/tsconfig.json @@ -12,6 +12,7 @@ "moduleResolution": "node", "esModuleInterop": true, "allowSyntheticDefaultImports": true, + "useUnknownInCatchVariables": false, "sourceMap": true, "baseUrl": ".", "types": [ diff --git a/packages/nodes-base/tsconfig.json b/packages/nodes-base/tsconfig.json index 4955f9c2ed8ec..2be084bcd7cc8 100644 --- a/packages/nodes-base/tsconfig.json +++ b/packages/nodes-base/tsconfig.json @@ -17,7 +17,8 @@ "outDir": "./dist/", "target": "es2019", "sourceMap": true, - "esModuleInterop": true + "esModuleInterop": true, + "useUnknownInCatchVariables": false, }, "include": [ "credentials/**/*", diff --git a/packages/workflow/tsconfig.json b/packages/workflow/tsconfig.json index 5e254086391ce..972096a036af4 100644 --- a/packages/workflow/tsconfig.json +++ b/packages/workflow/tsconfig.json @@ -19,7 +19,8 @@ "declaration": true, "outDir": "./dist/", "target": "es2019", - "sourceMap": true + "sourceMap": true, + "useUnknownInCatchVariables": false, }, "include": [ "**/*.d.ts",