diff --git a/packages/@n8n/nodes-langchain/tsconfig.json b/packages/@n8n/nodes-langchain/tsconfig.json index f210bbc5b3..a0bd21149f 100644 --- a/packages/@n8n/nodes-langchain/tsconfig.json +++ b/packages/@n8n/nodes-langchain/tsconfig.json @@ -1,7 +1,6 @@ { "extends": ["../../../tsconfig.json", "../../../tsconfig.backend.json"], "compilerOptions": { - "lib": ["es2020", "es2022.error"], "tsBuildInfoFile": "dist/typecheck.tsbuildinfo", // TODO: remove all options below this line "useUnknownInCatchVariables": false diff --git a/packages/node-dev/src/tsconfig-build.json b/packages/node-dev/src/tsconfig-build.json index 4b67e701b9..25a20b69ab 100644 --- a/packages/node-dev/src/tsconfig-build.json +++ b/packages/node-dev/src/tsconfig-build.json @@ -3,8 +3,8 @@ "strict": true, "module": "commonjs", "moduleResolution": "node", - "target": "es2019", - "lib": ["es2019", "es2020"], + "target": "es2021", + "lib": ["es2021"], "importHelpers": true, "esModuleInterop": true, "declaration": true, diff --git a/packages/nodes-base/tsconfig.json b/packages/nodes-base/tsconfig.json index 7e4ed688fb..83f9bf92a4 100644 --- a/packages/nodes-base/tsconfig.json +++ b/packages/nodes-base/tsconfig.json @@ -1,7 +1,6 @@ { "extends": ["../../tsconfig.json", "../../tsconfig.backend.json"], "compilerOptions": { - "lib": ["dom", "es2020", "es2022.error"], "paths": { "@test/*": ["./test/*"], "@utils/*": ["./utils/*"] diff --git a/packages/workflow/tsconfig.json b/packages/workflow/tsconfig.json index 0b486eab47..2f0507b565 100644 --- a/packages/workflow/tsconfig.json +++ b/packages/workflow/tsconfig.json @@ -6,7 +6,6 @@ "paths": { "@/*": ["./*"] }, - "lib": ["es2020", "es2022.error", "dom"], "tsBuildInfoFile": "dist/typecheck.tsbuildinfo" }, "include": ["src/**/*.ts", "test/**/*.ts"] diff --git a/tsconfig.json b/tsconfig.json index 1b0bd25650..5734019388 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,8 +3,8 @@ "strict": true, "module": "commonjs", "moduleResolution": "node", - "target": "es2019", - "lib": ["es2019", "es2020", "es2022.error"], + "target": "es2021", + "lib": ["es2021", "es2022.error", "dom"], "removeComments": true, "useUnknownInCatchVariables": true, "forceConsistentCasingInFileNames": true,