mirror of
https://github.com/facebook/react-native.git
synced 2024-11-22 06:29:46 +00:00
e54ecf907e
Summary: I am unsure whether there was a reason not to use an `index.js` file from the beginning. It always struck me as confusing and odd to have the main API hidden in a folder somewhere. This changes RN to use the standard `index.js` file that is common in almost all JavaScript packages. Reviewed By: yungsters, rubennorte Differential Revision: D17314423 fbshipit-source-id: 10eaf4fddd41e91163de7d10c0879b623dab00d7
26 lines
557 B
JavaScript
26 lines
557 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.
|
|
*
|
|
* @format
|
|
* @flow strict
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
declare var __DEV__: boolean;
|
|
|
|
declare var __REACT_DEVTOOLS_GLOBAL_HOOK__: any; /*?{
|
|
inject: ?((stuff: Object) => void)
|
|
};*/
|
|
|
|
declare var fetch: any;
|
|
declare var Headers: any;
|
|
declare var Request: any;
|
|
declare var Response: any;
|
|
declare module requestAnimationFrame {
|
|
declare module.exports: (callback: any) => any;
|
|
}
|