Files
WRNexusJS/FIXES-0.7.0-R2-TYPECHECK-SHIM-LEAK.md
T
2026-08-01 10:04:42 +05:30

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.ts
  • tsconfig.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.ts from the source tree.
  • Removed tsconfig.focus.json from the source tree.
  • Added a validate:0.7 release 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.