From fc55e60e947345e8f788647ce496e12973e1051a Mon Sep 17 00:00:00 2001 From: "Gustavo Costa (Thoughtworks)" Date: Tue, 9 Jun 2026 14:08:20 -0300 Subject: [PATCH] fix: add types:node to tsconfig for TypeScript 6 compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit TypeScript 6 no longer implicitly includes Node.js globals (process, Buffer, NodeJS namespace, etc.). Explicit `types: ["node"]` is required. Unblocks dependabot PR #60 (typescript 5→6 bump). --- tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 0615b96..cb0b80e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -16,7 +16,8 @@ "noUnusedLocals": true, "noUnusedParameters": true, "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true + "noFallthroughCasesInSwitch": true, + "types": ["node"] }, "include": ["src/**/*"], "exclude": ["node_modules", "dist"]