2020-03-19 03:18:34 +08:00
|
|
|
/**
|
|
|
|
|
* 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.
|
|
|
|
|
*
|
|
|
|
|
* @flow
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
declare var $$$hostConfig: any;
|
|
|
|
|
|
|
|
|
|
export opaque type BundlerConfig = mixed; // eslint-disable-line no-undef
|
2020-03-26 10:03:31 +08:00
|
|
|
export opaque type ModuleReference<T> = mixed; // eslint-disable-line no-undef
|
2020-03-22 13:28:36 +08:00
|
|
|
export opaque type ModuleMetaData: any = mixed; // eslint-disable-line no-undef
|
2020-11-11 11:58:58 +08:00
|
|
|
export opaque type ModuleKey: any = mixed; // eslint-disable-line no-undef
|
2020-10-30 08:57:31 +08:00
|
|
|
export const isModuleReference = $$$hostConfig.isModuleReference;
|
2020-11-11 11:58:58 +08:00
|
|
|
export const getModuleKey = $$$hostConfig.getModuleKey;
|
2020-03-19 03:18:34 +08:00
|
|
|
export const resolveModuleMetaData = $$$hostConfig.resolveModuleMetaData;
|