rest-vir - v1.0.0
    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
                            ? ShapeDefinition<any, true>
                            | undefined
                            : undefined extends Init["messageFromClientShape"]
                                ? undefined
                                : ShapeDefinition<Init["messageFromClientShape"], true>;
                    MessageFromClientType: Init["messageFromClientShape"] extends NoParam
                        ? any
                        : undefined extends Init["messageFromClientShape"]
                            ? undefined
                            : ShapeToRuntimeType<
                                ShapeDefinition<Init["messageFromClientShape"], true>,
                                false,
                                true,
                            >;
                    messageFromHostShape: IsEqual<Init["messageFromHostShape"], NoParam> extends true
                        ? any
                        : Init["messageFromHostShape"] extends NoParam
                            ? ShapeDefinition<any, true>
                            | undefined
                            : undefined extends Init["messageFromHostShape"]
                                ? undefined
                                : ShapeDefinition<Init["messageFromHostShape"], true>;
                    MessageFromHostType: Init["messageFromHostShape"] extends NoParam
                        ? any
                        : undefined extends Init["messageFromHostShape"]
                            ? undefined
                            : ShapeToRuntimeType<
                                ShapeDefinition<Init["messageFromHostShape"], true>,
                                false,
                                true,
                            >;
                    protocolsShape: "protocolsShape" extends keyof Init
                        ? undefined extends Init["protocolsShape"]
                            ? undefined
                            : ShapeDefinition<Init["protocolsShape"], true>
                            | undefined
                        : undefined;
                    ProtocolsType: undefined extends Init["protocolsShape"]
                        ? string[]
                        : ShapeToRuntimeType<
                            ShapeDefinition<Init["protocolsShape"], true>,
                            false,
                            true,
                        >;
                    searchParamsShape: "searchParamsShape" extends keyof Init
                        ? undefined extends Init["searchParamsShape"]
                            ? undefined
                            : ShapeDefinition<Init["searchParamsShape"], true>
                            | undefined
                        : undefined;
                    SearchParamsType: "searchParamsShape" extends keyof Init
                        ? ShapeToRuntimeType<
                            ShapeDefinition<Init["searchParamsShape"], true>,
                            false,
                            true,
                        >
                        : undefined;
                },
            >
            : never
    ) & {
        isEndpoint: false;
        isWebSocket: true;
        path: WebSocketPath;
        service: MinimalService;
    }

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

    Type Parameters