Skip to main content
Module

x/cav/endpoints.ts>SendType

A server framework for Deno
Go to Latest
type alias SendType
import { type SendType } from "https://deno.land/x/cav@0.0.24/endpoints.ts";

Type utility for extracting the type of message a socket expects to send from a SocketSchema.

Type Parameters

Schema extends SocketSchema | null
definition: (Schema extends { send: infer S; } ? S : unknown)