From d815626479b028bfbd3a6d3875c72c79a417037d Mon Sep 17 00:00:00 2001 From: AyrisAI Date: Thu, 14 May 2026 17:58:12 +0300 Subject: [PATCH] fix: resolve TS errors by setting module type and fixing types in tsconfig --- package.json | 1 + tsconfig.json | 6 ++---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 1e7611b..3a66686 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ }, "devDependencies": { "@types/node": "^25.7.0", + "tsx": "^4.19.2", "typescript": "^6.0.3" } } diff --git a/tsconfig.json b/tsconfig.json index cf17b7d..a46c4cf 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,10 +9,8 @@ // See also https://aka.ms/tsconfig/module "module": "nodenext", "target": "esnext", - "types": [], - // For nodejs: - // "lib": ["esnext"], - // "types": ["node"], + "lib": ["esnext"], + "types": ["node"], // and npm install -D @types/node // Other Outputs