UNPKG

@typefixture/jest

Version:

typefixture integration with Jest

19 lines (18 loc) 585 B
import * as ts from 'typescript'; import { ConfigSet } from 'ts-jest/dist/config/config-set'; declare type SourceFileTransformer = (sourceFile: ts.SourceFile) => ts.Node; declare type TransformerFunction = (ctx: ts.TransformationContext) => SourceFileTransformer; /** * ts-jest API */ export declare const name = "typefixture-transformer"; /** * @internal */ export declare const version = 1; /** * The factory of transformer factory * @param cs Current jest configuration-set */ export declare function factory(cs: ConfigSet): TransformerFunction; export {};