rest-vir - v2.2.0
    Preparing search index...

    Function implementApi

    • Type Parameters

      • HostContext = unknown

      Returns <
          const Api extends Readonly<ApiDefinition>,
          const EndpointPaths extends readonly `/${string}`[] = [],
          const WebSocketPaths extends readonly `/${string}`[] = [],
      >(
          api: Readonly<Api>,
          implementations: Readonly<
              ApiRouteImplementations<
                  EndpointPaths,
                  WebSocketPaths,
                  NoInfer<HostContext>,
              >,
          >,
      ) => Readonly<ApiImplementation<Api, HostContext>>