You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(client): exclude dist directory from TypeScript compilation to prevent TS6305 errors (#313)
Adds 'exclude: ["dist"]' to tsconfig.json and tsconfig.spec.json to prevent
intermittent test failures caused by stale declaration files in the dist directory.
Previously, when dist/ contained .d.ts files from previous builds, Vitest's
typecheck would fail with TS6305 errors about files not being built from source.
This happened because TypeScript was including both source files and generated
declaration files in compilation.
Fixes the 'sometimes it works, sometimes it doesn't' behavior when running
pnpm nx test client.
0 commit comments