UNPKG

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