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

    Type Alias WithFinalWebSocketProps<Init, WebSocketPath>

    WithFinalWebSocketProps: (
        Init extends AnyObject
            ? Overwrite<
                Init,
                {
                    customProps: "customProps" extends keyof Init
                        ? Init["customProps"]
                        : undefined;
                    messageFromClientShape: IsEqual<Init["messageFromClientShape"], NoParam> extends true
                        ? any
                        : Init["messageFromClientShape"] extends NoParam
                            ? Shape
                            | undefined
                            : undefined extends Init["messageFromClientShape"]
                                ? undefined
                                : Shape<Init["messageFromClientShape"]>;
                    MessageFromClientType: Init["messageFromClientShape"] extends NoParam
                        ? any
                        : undefined extends Init["messageFromClientShape"]
                            ? undefined
                            : ShapeInitType<Init["messageFromClientShape"]>;
                    messageFromHostShape: IsEqual<Init["messageFromHostShape"], NoParam> extends true
                        ? any
                        : Init["messageFromHostShape"] extends NoParam
                            ? Shape
                            | undefined
                            : undefined extends Init["messageFromHostShape"]
                                ? undefined
                                : Shape<Init["messageFromHostShape"]>;
                    MessageFromHostType: Init["messageFromHostShape"] extends NoParam
                        ? any
                        : undefined extends Init["messageFromHostShape"]
                            ? undefined
                            : ShapeInitType<Init["messageFromHostShape"]>;
                    protocolsShape: "protocolsShape" extends keyof Init
                        ? undefined extends Init["protocolsShape"]
                            ? undefined
                            : Shape<Init["protocolsShape"]>
                            | undefined
                        : undefined;
                    ProtocolsType: undefined extends Init["protocolsShape"]
                        ? string[]
                        : ShapeInitType<Init["protocolsShape"]>;
                    searchParamsShape: "searchParamsShape" extends keyof Init
                        ? undefined extends Init["searchParamsShape"]
                            ? undefined
                            : Shape<Init["searchParamsShape"]>
                            | undefined
                        : undefined;
                    SearchParamsType: "searchParamsShape" extends keyof Init
                        ? ShapeInitType<Init["searchParamsShape"]>
                        : undefined;
                },
            >
            : never
    ) & {
        isEndpoint: false;
        isWebSocket: true;
        path: WebSocketPath;
        service: MinimalService;
    }

    Adds final props to a WebSocketInit, converting it into a WebSocketDefinition.

    Type Parameters