From 2bb365477ac015fcf42607dd1d934e16191bab3e Mon Sep 17 00:00:00 2001 From: Jake Verbaten Date: Thu, 2 Apr 2026 14:32:09 +0100 Subject: [PATCH] Add explicit node types for TypeScript 6 compat TypeScript 6.0 changed the default types behavior so node types are no longer auto-included. This fixes builds in projects that use TS 6. Made-with: Cursor --- npm/socket-patch/tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/npm/socket-patch/tsconfig.json b/npm/socket-patch/tsconfig.json index 1b950f9..6998287 100644 --- a/npm/socket-patch/tsconfig.json +++ b/npm/socket-patch/tsconfig.json @@ -9,7 +9,8 @@ "rootDir": "src", "strict": true, "skipLibCheck": true, - "esModuleInterop": true + "esModuleInterop": true, + "types": ["node"] }, "include": ["src"] }