Type Alias DsrMessage<Payload>

DsrMessage: {
    body: {
        data: Payload;
        type: typeof DSR_MESSAGE_TYPES[keyof typeof DSR_MESSAGE_TYPES];
    };
    id: string;
    type: typeof DSR_MESSAGE;
}

Type Parameters

  • Payload = any

Type declaration