1.3.3
Follow-up to 1.3.2 — fixes a regression from that release.
Fixed
- 1.3.2 removed two type assertions on
res.jsonandJSON.parse(...)to satisfy an "unnecessary assertion" check, but that let untyped (any) values flow into typed positions unchecked — flagged as "unsafe assignment"/"unsafe return of any" by the directory's review. Reworked both call sites to assign the raw value to an explicitlyunknown-typed variable first, narrow it with a runtime check, and only then cast — safe by the type system's own rules either way.
No behavior change from 1.3.2. tsc --noEmit clean, 159/159 tests pass.