FuncType - v1.4.1
    Preparing search index...

    Interface SerializableEnvelope

    Shape of the envelope object emitted by a Serializable's instance-level toJSON() (the method native JSON.stringify picks up via protocol). Concrete types narrow this with their specific marker/tag literals.

    The @functype marker is the type discriminator (defends against _tag-collision with Effect/fp-ts). _tag is the variant discriminator within that type — kept across the board (variant-less types repeat the marker for back-compat with 1.1.0 readers that did parsed._tag === "List").

    Payload shape is type-specific: canonical types carry value; failure branches (Try.Failure, Task.Err, Lazy with thrown thunk) carry error: SerializedError instead.

    interface SerializableEnvelope {
        _tag: string;
        "@functype": string;
        readonly [key: string]: unknown;
    }

    Indexable

    • readonly [key: string]: unknown
    Index

    Properties

    Properties

    _tag: string
    "@functype": string