index.d.ts 544 B

123456789101112131415
  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 { TransformOptions } from '@babel/core';
  8. import type { Transformer } from '@jest/transform';
  9. interface BabelJestTransformer extends Transformer {
  10. canInstrument: true;
  11. }
  12. declare const transformer: BabelJestTransformer & {
  13. createTransformer: (options?: TransformOptions) => BabelJestTransformer;
  14. };
  15. export = transformer;