A Passable "tagged record" with semantics specific to the tag identified in the [Symbol.toStringTag] property (such as 'copySet', 'copyBag', or 'copyMap'). It must have a property with key equal to the PASS_STYLE export and value 'tagged' and no other properties except [Symbol.toStringTag] and payload.

interface CopyTaggedI<PC, E> {
    [PASS_STYLE]: "tagged";
    [toStringTag]: string;
    payload: Passable<PC, E>;
}

Type Parameters

Hierarchy (view full)

Properties

[PASS_STYLE]: "tagged"
[toStringTag]: string
payload: Passable<PC, E>