main
js 17 lines 605 Bytes
Raw
1 /**
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 *
7 * @flow
8 */
9
10 import typeof * as FlightClientAPI from './src/ReactFlightClient';
11 import typeof * as HostConfig from './src/ReactFlightClientConfig';
12
13 export * from './src/ReactFlightClient';
14
15 // At build time, this module is wrapped as a factory function ($$$reconciler).
16 // Consumers pass a host config object and get back the Flight client API.
17 declare export default (hostConfig: HostConfig) => FlightClientAPI;