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 <noreply@anthropic.com>
This commit is contained in:
2026-07-28 17:59:21 +00:00
co-authored by Claude
parent ddadde15d4
commit 34a0d35dd5
+1 -1
View File
@@ -9,7 +9,7 @@
"sourceMap": true,
"jsx": "react-jsx",
"jsxImportSource": "preact",
"skipLibCheck": true
"types": ["golang-wasm-exec", "qrcode"]
},
"include": ["src/**/*"],
"exclude": ["node_modules"]