From 9e36a7f27f95ba2d9b6c2313dcf71ae7cab7bc4e Mon Sep 17 00:00:00 2001 From: Codinget Date: Sat, 18 Apr 2026 19:52:29 +0000 Subject: [PATCH] fix(tsconnect): skipLibCheck to avoid monorepo @types conflicts When tsconnect is built inside a JS monorepo, TypeScript walks up the directory tree and auto-discovers @types/eslint-scope and @types/ws from the root node_modules, causing spurious type errors unrelated to tsconnect itself. skipLibCheck suppresses these. Co-Authored-By: Claude Sonnet 4.6 --- cmd/tsconnect/tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/tsconnect/tsconfig.json b/cmd/tsconnect/tsconfig.json index 52c25c727..fd4123f62 100644 --- a/cmd/tsconnect/tsconfig.json +++ b/cmd/tsconnect/tsconfig.json @@ -8,7 +8,8 @@ "forceConsistentCasingInFileNames": true, "sourceMap": true, "jsx": "react-jsx", - "jsxImportSource": "preact" + "jsxImportSource": "preact", + "skipLibCheck": true }, "include": ["src/**/*"], "exclude": ["node_modules"]