Files
react/packages/react-dom/src/ReactDOMSharedInternals.js
T
Josh Story 7ed6084c39 [Float] use common float types (#26938)
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
2023-06-13 13:30:26 -07:00

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;