Type alias PathObject<T>

PathObject<T>: [T] extends [LiveMap<infer U>]
    ? LiveMapPathObject<U>
    : [T] extends [LiveCounter]
        ? LiveCounterPathObject
        : [T] extends [Primitive]
            ? PrimitivePathObject<T>
            : AnyPathObject

PathObject wraps a reference to a path starting from the entrypoint object on a channel. The type parameter specifies the underlying type defined at that path, and is used to infer the correct set of methods available for that type.

Type Parameters

Generated using TypeDoc