UNPKG

@swc-node/jest

Version:

swc preprocessor for jest with source map support

14 lines (13 loc) 466 B
import type { Output } from '@swc/core'; import { Options } from '@swc-node/core'; interface JestConfig26 { transform: [match: string, transformerPath: string, options: Options][]; } interface JestConfig27 { transformerConfig: Options; } declare const _default: { process(src: string, path: string, jestConfig: JestConfig26 | JestConfig27): Output | string; getCacheKey(src: string, _filepath: string, config: Options): string; }; export = _default;