Files
react-native/Libraries/Network/fetch.js
T
Christoph Nakazawa a6825e590a Clean up symbolicateStackTrace
Summary:
This diff cleans up a bunch of code in `symbolicateStackTrace`. According to motiz88 all of it is dead code and I can confirm symbolication does not break with the changes applied.

Changelog: [Internal]

Reviewed By: yungsters

Differential Revision: D24585849

fbshipit-source-id: 5b2c76f56dbbbf27449ce1472cdd0271ed230c35
2020-10-28 03:00:00 -07:00

20 lines
445 B
JavaScript

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow strict
* @format
*/
/* globals Headers, Request, Response */
'use strict';
// side-effectful require() to put fetch,
// Headers, Request, Response in global scope
require('whatwg-fetch');
module.exports = {fetch, Headers, Request, Response};