Expand description
Generate TypeScript wire protocol definitions.
Walks Facet shapes and emits:
- interfaces and tagged unions for all named types
- discriminant constants for all named enums (auto-derived)
- narrowed per-variant type aliases for all named enums (auto-derived)
Structs§
- Wire
Type - A wire type to generate TypeScript definitions for.
- Wire
Type GenConfig
Functions§
- generate_
wire - Generate a complete TypeScript module with wire protocol type definitions.