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
{{ message }}
This repository was archived by the owner on Sep 1, 2026. It is now read-only.
When updating dependencies in package.json that introduce breaking type changes, tsgo --build (incremental mode) fails to detect these changes if a tsconfig.tsbuildinfo file already exists. The build reports success despite the presence of type errors.
If the tsconfig.tsbuildinfo file is manually deleted, the compiler correctly identifies and reports the type errors.
Expected Behavior
The TypeScript compiler should detect changes in node_modules (or the program signature of dependencies) and invalidate the relevant parts of the incremental cache, forcing a re-check of affected files.
Actual Behavior
The compiler assumes the project is up-to-date because the local source files' timestamps/hashes haven't changed, ignoring the fact that the external type definitions they depend on have changed.
When updating dependencies in package.json that introduce breaking type changes,
tsgo --build(incremental mode) fails to detect these changes if atsconfig.tsbuildinfofile already exists. The build reports success despite the presence of type errors.If the
tsconfig.tsbuildinfofile is manually deleted, the compiler correctly identifies and reports the type errors.Expected Behavior
The TypeScript compiler should detect changes in node_modules (or the program signature of dependencies) and invalidate the relevant parts of the incremental cache, forcing a re-check of affected files.
Actual Behavior
The compiler assumes the project is up-to-date because the local source files' timestamps/hashes haven't changed, ignoring the fact that the external type definitions they depend on have changed.