rest-vir - v1.0.0
    Preparing search index...

    Type Alias ServiceImplementationInit<Context, ServiceName, EndpointsInit, WebSocketsInit>

    ServiceImplementationInit: {
        customHeaders?: string[];
        logger?: ServiceLoggerOption;
        service: ServiceDefinition<ServiceName, EndpointsInit, WebSocketsInit>;
    } & (
        IsEqual<Context, undefined> extends true
            ? {
                createContext?: ContextInit<
                    Context,
                    NoInfer<ServiceName>,
                    NoInfer<EndpointsInit>,
                    NoInfer<WebSocketsInit>,
                >;
            }
            : {
                createContext: ContextInit<
                    Context,
                    NoInfer<ServiceName>,
                    NoInfer<EndpointsInit>,
                    NoInfer<WebSocketsInit>,
                >;
            }
    )

    Type-safe input for implementService.

    Type Parameters

    Type declaration