Type alias DecodedMessageUnion<ContentTypes>

DecodedMessageUnion<ContentTypes>: {
    [K in keyof ContentTypes]: ContentTypes[K] extends ContentCodec<any>
        ? DecodedMessage<ContentTypes[K], ContentTypes>
        : never
}[number]

Type Parameters

  • ContentTypes extends DefaultContentTypes = DefaultContentTypes

Generated using TypeDoc