ts-jest
Version:
A Jest transformer with source map support that lets you use Jest to test projects written in TypeScript
10 lines (9 loc) • 486 B
TypeScript
import type _ts from 'typescript';
import type { TsCompilerInstance } from '../types';
/**
* Remember to increase the version whenever transformer's content is changed. This is to inform Jest to not reuse
* the previous cache which contains old transformer's content
*/
export declare const version = 4;
export declare const name = "hoist-jest";
export declare function factory({ configSet }: TsCompilerInstance): (ctx: _ts.TransformationContext) => _ts.Transformer<_ts.SourceFile>;