ssap_app/node_modules/@expo/metro/metro-runtime/modules/asyncRequire.d.ts

15 lines
467 B
TypeScript

/**
* 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.
*
*
* @format
* @oncall react_native
*/
type DependencyMapPaths = null | undefined | {
readonly [moduleID: number | string]: any;
};
declare function asyncRequire<T>(moduleID: number, paths: DependencyMapPaths, moduleName?: string): Promise<T>;
export default asyncRequire;