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>
webnet
Codinget 23 hours ago
parent 9e36a7f27f
commit d9efc3bae2
  1. 2
      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"]

Loading…
Cancel
Save