Copies additional fields from source object to target object that are not in the known fields set. This is useful for preserving extra API response fields that may be added in future versions. This function modifies the target object in place.

  • Parameters

    • source: Record<string, any>

      The source object containing fields to copy

    • target: Record<string, any>

      The target object to copy fields to

    • knownFields: Set<string>

      Set of field names that should be excluded from copying

    Returns void