forked from jestjs/jest
/
index.ts
27 lines (26 loc) · 814 Bytes
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/**
* 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.
*/
export {
createScriptTransformer,
createTranspilingRequire,
} from './ScriptTransformer';
export type {TransformerType as ScriptTransformer} from './ScriptTransformer';
export {default as shouldInstrument} from './shouldInstrument';
export type {
CallerTransformOptions,
Transformer,
SyncTransformer,
AsyncTransformer,
ShouldInstrumentOptions,
Options as TransformationOptions,
TransformerCreator,
TransformOptions,
TransformResult,
TransformedSource,
TransformerFactory,
} from './types';
export {default as handlePotentialSyntaxError} from './enhanceUnexpectedTokenMessage';