pub fn render_ts(ir: &Ir, opts: &CodegenOptions) -> StringExpand description
Render an Ir into a single api.gen.ts source string.
This is the panicking-on-internal-bug variant: duplicate type definitions
with conflicting bodies will panic. Use render_ts_checked when callers
want to recover from that case (e.g. surface a friendly CLI error).