Interface APIDefBuilderFn<Out>

A builder function that takes in an PAPIBuilder and is used for subdefinitions within an API

interface APIDefBuilderFn<Out> ((builder) => PAPIBuilder<Out>)

Type Parameters

  • A builder function that is used to subdefine an API

    Parameters

    • builder: PAPIBuilder<Record<string, never>>

      A builder to define a subsection of an API

    Returns PAPIBuilder<Out>

    An updated builder whose PAPIBuilder#root will be inserted for the API build step