Vow::Codegen::JavaScript
Emits the JavaScript runtime for a client: the VowError class, a
createClient(transport) ES-module function, and the batteries-included
createHttpClient(url, options?) default โ all with no type annotations,
so a browser can import and run them with no build step. Types live in the
companion .d.ts (TypeScript.emit_dts) sitting next to it, which an
editor picks up automatically โ so the buildless consumer still gets full
autocomplete.
The function names, namespace nesting, and dispatch ids are byte-identical
to the .d.ts (both derive from the same manifest), so the declaration
describes this runtime exactly.
Constants
The runtime twin of TypeScript::HTTP_CLIENT โ same behaviour, no types.
Reads no opt itself: options.method (you supply it) maps the opts bag to
a verb, so you decide which key marks a read; with none, every call POSTs.
The runtime twin of TypeScript::VOW_ERROR: the same class, sans type
annotations. The .d.ts beside it carries the typed code/hint.