UNPKG

@jsonjoy.com/reactive-rpc

Version:

Reactive-RPC is a library for building reactive APIs over WebSocket, HTTP, and other RPCs.

8 lines (7 loc) 274 B
import { Value as V } from '@jsonjoy.com/json-type/lib/value/Value'; import type { Type } from '@jsonjoy.com/json-type'; export declare class RpcValue<V = unknown> extends V<any> { data: V; type: Type | undefined; constructor(data: V, type: Type | undefined); }