• Creates an envelope. Make sure to always explicitly provide the generic to this function so that the envelope types resolve correctly.

    Type Parameters

    • E extends Envelope

    Parameters

    • headers: E[0]
    • items: E[1] = []

    Returns E

Generated using TypeDoc