Skip to main content

render_dts

Function render_dts 

Source
pub const fn render_dts<const CAPACITY: usize>(
    endpoint: &Endpoint,
) -> Output<CAPACITY>
Expand description

Render the Typescript declarations for one endpoint.

Call once with CAPACITY = 0 to measure, then again with CAPACITY set to the measured length.