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 <noreply@anthropic.com>
webnet
Codinget 24 hours ago
parent 8277fc0f1d
commit 9e36a7f27f
  1. 3
      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"]

Loading…
Cancel
Save