From be1c847e2a095109adff5b0113de9259aab5a6c5 Mon Sep 17 00:00:00 2001 From: dimaananskyi Date: Fri, 6 Sep 2024 16:51:38 +0300 Subject: [PATCH] chore: change tsconfig --- package.json | 4 ++-- tsconfig.json | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 7291d3744..06b7736b3 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "@rollup/plugin-typescript": "^8.2.1", "@types/chai": "^4.2.12", "@types/mocha": "^9.0.0", - "@types/node": "^17.0.0", + "@types/node": "^22.5.4", "@types/require-from-string": "^1.2.0", "@typescript-eslint/eslint-plugin": "^3.8.0", "@typescript-eslint/parser": "^3.8.0", @@ -106,7 +106,7 @@ "rollup-plugin-terser": "^7.0.2", "ts-node": "^10.0.0", "tsify": "^5.0.2", - "typescript": "^4.2.0" + "typescript": "^5.5.4" }, "collective": { "type": "opencollective", diff --git a/tsconfig.json b/tsconfig.json index 56e8b8a2a..942121cbc 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,10 +3,11 @@ "include": ["lib"], "compilerOptions": { "outDir": "dist", - "lib": ["ES2018", "DOM"], + "lib": ["ESNext"], "types": ["node"], "allowJs": true, "target": "ES2018", + "moduleResolution": "node", "resolveJsonModule": true } }