mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
7ed6084c39
Float types are currently spread out. this moves them to a single place to ensure we properly handle the public type interface in all three renderers. This is a step towards moving the public interface and validation to a common file shared by all three runtimes. Will also probably change the function interface to be flatter
29 lines
585 B
JavaScript
29 lines
585 B
JavaScript
/**
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @flow
|
|
*/
|
|
|
|
import type {HostDispatcher} from './shared/ReactDOMTypes';
|
|
|
|
type InternalsType = {
|
|
usingClientEntryPoint: boolean,
|
|
Events: [any, any, any, any, any, any],
|
|
Dispatcher: {
|
|
current: null | HostDispatcher,
|
|
},
|
|
};
|
|
|
|
const Internals: InternalsType = ({
|
|
usingClientEntryPoint: false,
|
|
Events: null,
|
|
Dispatcher: {
|
|
current: null,
|
|
},
|
|
}: any);
|
|
|
|
export default Internals;
|