UNPKG

ts-auto-mock

Version:

Typescript transformer to unlock automatic mock creation for interfaces and classes

5 lines (4 loc) 351 B
import type * as ts from 'typescript'; import { TsAutoMockOptions } from '../../options/options'; import { CustomFunction } from '../matcher/matcher'; export declare function baseTransformer(customFunctions: CustomFunction[], typescript: typeof ts): (program: ts.Program, options?: Partial<TsAutoMockOptions>) => ts.TransformerFactory<ts.SourceFile>;