packages/target-tools/src/fetchWithTelemetry.js
/**
 * We need to maintain cross-compatibility with browser fetch impl,
 * so this returns a response object with the same interface.
 * @return {import("../types/FetchResponse").FetchResponse}
 */
We need to maintain cross-compatibility with browser fetch impl,
so this returns a response object with the same interface.
We need to maintain cross - compatibility with browser fetch impl so this returns a response object with the same interface .
function createSuccess(data, response, timings, status, headers) {
  const fetchResponse = createResponse(
    data,
    response,
    timings,
    status,
    headers
  );
  fetchResponse.clone = () => createResponse(...arguments);
  return fetchResponse;
}
function createSuccess ( data , response , timings , status , headers ) { const fetchResponse = createResponse ( data , response , timings , status , headers ) ; fetchResponse . clone = ( ) => createResponse ( ... arguments ) ; return fetchResponse ; }
We need to maintain cross-compatibility with browser fetch impl,
 so this returns a response object with the same interface.
We need to maintain cross - compatibility with browser fetch impl so this returns a response object with the same interface .
// eslint-disable-next-line prefer-rest-params