• Creates a deep clone of an object, retaining types.

    Type Parameters

    • T

    Parameters

    • source: T
    • OptionalresolveFn: ((arg: any) => any)

      if passed, this function can perform transformation (e.g. resolve proxies)

        • (arg): any
        • Parameters

          • arg: any

          Returns any

    Returns T