UNPKG

725 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 type { Config } from '@jest/types';
8declare type ResolverOptions = {
9 basedir: Config.Path;
10 browser?: boolean;
11 defaultResolver: typeof defaultResolver;
12 extensions?: Array<string>;
13 moduleDirectory?: Array<string>;
14 paths?: Array<Config.Path>;
15 rootDir?: Config.Path;
16};
17export default function defaultResolver(path: Config.Path, options: ResolverOptions): Config.Path;
18export declare function clearDefaultResolverCache(): void;
19export {};
20//# sourceMappingURL=defaultResolver.d.ts.map
\No newline at end of file