/
githubmr
/
facebook-react
Обзор
Документация
Войти
/
githubmr
/
facebook-react
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
v18.2.0
packages/react-server/src/ReactFlightServerBundlerConfigCustom.js
18 строк
739 B
Sebastian Markbåge
Dedupe module id generation (#20172)
11 ноя 2020, 06:58
Не верифицирован
11 ноя 2020, 06:58
163199d
Код
Авторство
О чём код?
/** * 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 export opaque type ModuleReference<T> = mixed; // eslint-disable-line no-undef export opaque type ModuleMetaData: any = mixed; // eslint-disable-line no-undef export opaque type ModuleKey: any = mixed; // eslint-disable-line no-undef export const isModuleReference = $$$hostConfig.isModuleReference; export const getModuleKey = $$$hostConfig.getModuleKey; export const resolveModuleMetaData = $$$hostConfig.resolveModuleMetaData;