Function deepCopyPrimitives

  • Deep copy a JSON object, preserving bigints. Should not be used to preserve class instances.

    Type Parameters

    • T

    Parameters

    • obj: T

    Returns T