defaultResolver.d.ts 721 B

1234567891011121314151617181920
  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. */
  7. import { Config } from '@jest/types';
  8. declare 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. };
  17. export default function defaultResolver(path: Config.Path, options: ResolverOptions): Config.Path;
  18. export declare const clearDefaultResolverCache: () => void;
  19. export {};
  20. //# sourceMappingURL=defaultResolver.d.ts.map