mirror of
https://github.com/facebook/react.git
synced 2026-02-22 11:51:55 +00:00
26 lines
1.0 KiB
JavaScript
26 lines
1.0 KiB
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
|
|
*/
|
|
|
|
declare const $$$config: any;
|
|
|
|
export opaque type ClientManifest = mixed;
|
|
export opaque type ClientReference<T> = mixed; // eslint-disable-line no-unused-vars
|
|
export opaque type ServerReference<T> = mixed; // eslint-disable-line no-unused-vars
|
|
export opaque type ClientReferenceMetadata: any = mixed;
|
|
export opaque type ServerReferenceId: any = mixed;
|
|
export opaque type ClientReferenceKey: any = mixed;
|
|
export const isClientReference = $$$config.isClientReference;
|
|
export const isServerReference = $$$config.isServerReference;
|
|
export const getClientReferenceKey = $$$config.getClientReferenceKey;
|
|
export const resolveClientReferenceMetadata =
|
|
$$$config.resolveClientReferenceMetadata;
|
|
export const getServerReferenceId = $$$config.getServerReferenceId;
|
|
export const getServerReferenceBoundArguments =
|
|
$$$config.getServerReferenceBoundArguments;
|