aboutsummaryrefslogtreecommitdiff
path: root/node_modules/jest-resolve/build/types.d.ts
blob: cb5428c5169ed6e539a2ff39a285a52684f7fc00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/**
 * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
import type { Config } from '@jest/types';
export declare type ResolverConfig = {
    defaultPlatform?: string | null;
    extensions: Array<string>;
    hasCoreModules: boolean;
    moduleDirectories: Array<string>;
    moduleNameMapper?: Array<ModuleNameMapperConfig> | null;
    modulePaths?: Array<Config.Path>;
    platforms?: Array<string>;
    resolver?: Config.Path | null;
    rootDir: Config.Path;
};
declare type ModuleNameMapperConfig = {
    regex: RegExp;
    moduleName: string | Array<string>;
};
export {};