From d9efc3bae2f81a0efd4b778d3122ec4aa32c7617 Mon Sep 17 00:00:00 2001 From: Codinget Date: Sat, 18 Apr 2026 20:04:20 +0000 Subject: [PATCH] fix(tsconnect): pin types to avoid monorepo @types pollution Replace skipLibCheck with an explicit types list so TypeScript and dts-bundle-generator only auto-include @types/golang-wasm-exec and @types/qrcode, preventing @types/eslint-scope and @types/ws from leaking in from a parent node_modules when built inside a monorepo. Co-Authored-By: Claude Sonnet 4.6 --- cmd/tsconnect/tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/tsconnect/tsconfig.json b/cmd/tsconnect/tsconfig.json index fd4123f62..c1404a107 100644 --- a/cmd/tsconnect/tsconfig.json +++ b/cmd/tsconnect/tsconfig.json @@ -9,7 +9,7 @@ "sourceMap": true, "jsx": "react-jsx", "jsxImportSource": "preact", - "skipLibCheck": true + "types": ["golang-wasm-exec", "qrcode"] }, "include": ["src/**/*"], "exclude": ["node_modules"]