UNPKG

540 BTypeScriptView Raw
1import type { CompilerInstance, CompiledOutput, StringMap, TsJestCompileOptions } from '../../types';
2import type { ConfigSet } from '../config/config-set';
3export declare class TsJestCompiler implements CompilerInstance {
4 private readonly _compilerInstance;
5 constructor(configSet: ConfigSet, runtimeCacheFS: StringMap);
6 getResolvedModules(fileContent: string, fileName: string, runtimeCacheFS: StringMap): string[];
7 getCompiledOutput(fileContent: string, fileName: string, options: TsJestCompileOptions): CompiledOutput;
8}