UNPKG

@umijs/test

Version:
8 lines (7 loc) 260 B
import type { TransformOptions } from '@jest/transform'; export interface BabelTransformOptions { sourceText: string; sourcePath: string; config: TransformOptions<any>; } export declare function babelTransform(opts: BabelTransformOptions): string;