Type Alias EndpointGeneric<T, U, E>

EndpointGeneric<T, U, E>: EndpointBase & {
    body?: E;
    parameters?: T;
    response: U;
}

This is a hack to allow us to show the parameters and response types of an endpoint as the inferred types of the parameters and response properties.

Type Parameters

  • T
  • U
  • E