fix(tsconnect): skipLibCheck to avoid monorepo @types conflicts #3

Merged
codinget merged 2 commits from feat/example-app into webnet 2026-04-19 01:46:19 +02:00
Owner

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

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>
codinget added 1 commit 2026-04-18 21:53:06 +02:00
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>
codinget added 1 commit 2026-04-18 22:04:37 +02:00
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>
codinget merged commit d9efc3bae2 into webnet 2026-04-19 01:46:18 +02:00
codinget deleted branch feat/example-app 2026-04-19 01:46:19 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: webnet/tailscale#3