Files
responder/tests
kennethreitz 3d92e38333 clientgen: type-annotate the generated TypeScript validators (noImplicitAny)
The 6.5.2 validate= codegen emitted a shared JS/TS validation helper whose
arrow-function params (value/schema/path/expected/variant) and the SCHEMAS
lookup were untyped, so the generated TypeScript client failed `tsc` /
`deno check` with 8 implicit-any errors. Annotate those spots for the typed
(TS) path; JavaScript output is unchanged.

Adds regression tests: a string assertion that the TS validators are annotated,
and a `deno check` smoke test (skipped when deno isn't installed) that would
have caught this. JS/Ruby still syntax-check; PHP unverified locally (no php).

596 tests pass; ruff + mypy clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-29 12:27:02 -04:00
..
2018-10-13 13:59:46 +01:00
2026-06-28 10:37:14 -04:00