989 B
989 B
WRNexusJS 0.7.0 R2 — Root Typecheck Fix
Cause
The R1 source archive accidentally contained two temporary files used only for a dependency-free focused compile:
focus-shims.d.tstsconfig.focus.json
The root tsc --noEmit command automatically included focus-shims.d.ts. Its intentionally broad declarations replaced or merged with the installed Bun, Node.js, TypeScript, Happy DOM, filesystem, child-process, and build-tool declarations. That caused callback parameters to become implicit any, removed real Bun APIs and generics, and produced the reported 78 errors across otherwise valid source files.
Fix
- Removed
focus-shims.d.tsfrom the source tree. - Removed
tsconfig.focus.jsonfrom the source tree. - Added a
validate:0.7release guard that fails if either temporary file is present. - Re-ran the root TypeScript program with typed Bun/Node/TypeScript module declarations.
No public framework API or runtime behavior changed in this correction.