UNPKG

770 BTypeScriptView Raw
1/**
2 * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
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 */
7import { Config } from '@jest/types';
8export declare type ResolverConfig = {
9 browser?: boolean;
10 defaultPlatform?: string | null;
11 extensions: Array<string>;
12 hasCoreModules: boolean;
13 moduleDirectories: Array<string>;
14 moduleNameMapper?: Array<ModuleNameMapperConfig> | null;
15 modulePaths: Array<Config.Path>;
16 platforms?: Array<string>;
17 resolver?: Config.Path | null;
18 rootDir: Config.Path;
19};
20declare type ModuleNameMapperConfig = {
21 regex: RegExp;
22 moduleName: string;
23};
24export {};
25//# sourceMappingURL=types.d.ts.map
\No newline at end of file