UNPKG

alsatian

Version:

TypeScript and JavaScript testing framework for beautiful and readable tests

4 lines (3 loc) 312 B
import { ISpiedFunction, TypedFunction } from "./spied-function.i"; export declare function createFunctionSpy<FunctionType extends TypedFunction>(): ISpiedFunction<FunctionType>; export declare function createFunctionSpy<ArgumentType, ReturnType>(): ISpiedFunction<(...args: Array<ArgumentType>) => ReturnType>;