yeet
This commit is contained in:
1
node_modules/react-native/Libraries/ReactPrivate/README
generated
vendored
Normal file
1
node_modules/react-native/Libraries/ReactPrivate/README
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
JS modules in this folder are forwarding modules to allow React to require React Native internals.
|
11
node_modules/react-native/Libraries/ReactPrivate/ReactNativePrivateInitializeCore.js
generated
vendored
Normal file
11
node_modules/react-native/Libraries/ReactPrivate/ReactNativePrivateInitializeCore.js
generated
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
/**
|
||||
* 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-local
|
||||
*/
|
||||
|
||||
import '../Core/InitializeCore';
|
61
node_modules/react-native/Libraries/ReactPrivate/ReactNativePrivateInterface.js
generated
vendored
Normal file
61
node_modules/react-native/Libraries/ReactPrivate/ReactNativePrivateInterface.js
generated
vendored
Normal file
@ -0,0 +1,61 @@
|
||||
/**
|
||||
* 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-local
|
||||
*/
|
||||
|
||||
import typeof BatchedBridge from '../BatchedBridge/BatchedBridge';
|
||||
import typeof ExceptionsManager from '../Core/ExceptionsManager';
|
||||
import typeof Platform from '../Utilities/Platform';
|
||||
import typeof RCTEventEmitter from '../EventEmitter/RCTEventEmitter';
|
||||
import typeof ReactNativeViewConfigRegistry from '../Renderer/shims/ReactNativeViewConfigRegistry';
|
||||
import typeof TextInputState from '../Components/TextInput/TextInputState';
|
||||
import typeof UIManager from '../ReactNative/UIManager';
|
||||
import typeof deepDiffer from '../Utilities/differ/deepDiffer';
|
||||
import typeof deepFreezeAndThrowOnMutationInDev from '../Utilities/deepFreezeAndThrowOnMutationInDev';
|
||||
import typeof flattenStyle from '../StyleSheet/flattenStyle';
|
||||
import typeof ReactFiberErrorDialog from '../Core/ReactFiberErrorDialog';
|
||||
|
||||
// flowlint unsafe-getters-setters:off
|
||||
module.exports = {
|
||||
get BatchedBridge(): BatchedBridge {
|
||||
return require('../BatchedBridge/BatchedBridge');
|
||||
},
|
||||
get ExceptionsManager(): ExceptionsManager {
|
||||
return require('../Core/ExceptionsManager');
|
||||
},
|
||||
get Platform(): Platform {
|
||||
return require('../Utilities/Platform');
|
||||
},
|
||||
get RCTEventEmitter(): RCTEventEmitter {
|
||||
return require('../EventEmitter/RCTEventEmitter');
|
||||
},
|
||||
get ReactNativeViewConfigRegistry(): ReactNativeViewConfigRegistry {
|
||||
return require('../Renderer/shims/ReactNativeViewConfigRegistry');
|
||||
},
|
||||
get TextInputState(): TextInputState {
|
||||
return require('../Components/TextInput/TextInputState');
|
||||
},
|
||||
get UIManager(): UIManager {
|
||||
return require('../ReactNative/UIManager');
|
||||
},
|
||||
get deepDiffer(): deepDiffer {
|
||||
return require('../Utilities/differ/deepDiffer');
|
||||
},
|
||||
get deepFreezeAndThrowOnMutationInDev(): deepFreezeAndThrowOnMutationInDev<
|
||||
// $FlowFixMe - can't properly parameterize the getter's type
|
||||
*,
|
||||
> {
|
||||
return require('../Utilities/deepFreezeAndThrowOnMutationInDev');
|
||||
},
|
||||
get flattenStyle(): flattenStyle {
|
||||
return require('../StyleSheet/flattenStyle');
|
||||
},
|
||||
get ReactFiberErrorDialog(): ReactFiberErrorDialog {
|
||||
return require('../Core/ReactFiberErrorDialog');
|
||||
},
|
||||
};
|
Reference in New Issue
Block a user