From 0f81660fdd701d3e272914f71f928bb85d3c4698 Mon Sep 17 00:00:00 2001 From: Riccardo Balbo Date: Fri, 1 Nov 2024 17:31:14 +0100 Subject: [PATCH] add node types --- package-lock.json | 2 +- package.json | 2 +- tsconfig.json | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index f46a1b2..496854d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,7 @@ "hypergate": "build/dist/cli.js" }, "devDependencies": { - "@types/node": "^22.7.7", + "@types/node": "^22.8.6", "ts-node": "^10.9.2", "tsx": "^4.19.2", "typescript": "^5.6.3" diff --git a/package.json b/package.json index ab9d4ff..c161665 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "registry": "https://npm.pkg.github.com" }, "devDependencies": { - "@types/node": "^22.7.7", + "@types/node": "^22.8.6", "ts-node": "^10.9.2", "tsx": "^4.19.2", "typescript": "^5.6.3" diff --git a/tsconfig.json b/tsconfig.json index 8ccad24..e9c42d6 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,7 +8,8 @@ "skipLibCheck": true, "forceConsistentCasingInFileNames": true, "outDir": "./build/dist", - "baseUrl": "./" + "baseUrl": "./", + "types": ["node"] }, "include": ["src/**/*"] }