• Add an item to 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

    • envelope: E
    • newItem: E[1][number]

    Returns E

Generated using TypeDoc