UNPKG

ts-auto-mock

Version:

Typescript transformer to unlock automatic mock creation for interfaces and classes

4 lines (3 loc) 282 B
import type * as ts from 'typescript'; import { CustomFunction } from '../../matcher/matcher'; export declare function customFunctionWithTypeArgument(sourceName: string, declarationName: string, run: (node: ts.CallExpression, typeArgument: ts.TypeNode) => ts.Node): CustomFunction;