mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-09-22 00:50:25 +00:00
Calls fake passes throught the arguments
This commit is contained in:
Vendored
+4
-4
@@ -156,9 +156,9 @@ declare namespace Sinon {
|
||||
|
||||
interface SinonSpy<TArgs extends any[] = any[], TReturnValue = any>
|
||||
extends Pick<
|
||||
SinonSpyCallApi<TArgs, TReturnValue>,
|
||||
Exclude<keyof SinonSpyCallApi<TArgs, TReturnValue>, 'args'>
|
||||
> {
|
||||
SinonSpyCallApi<TArgs, TReturnValue>,
|
||||
Exclude<keyof SinonSpyCallApi<TArgs, TReturnValue>, 'args'>
|
||||
> {
|
||||
// Properties
|
||||
/**
|
||||
* The number of recorded calls.
|
||||
@@ -524,7 +524,7 @@ declare namespace Sinon {
|
||||
* Makes the stub call the provided @param func when invoked.
|
||||
* @param func
|
||||
*/
|
||||
callsFake(func: (...args: any[]) => TReturnValue): SinonStub<TArgs, TReturnValue>;
|
||||
callsFake(func: (...args: TArgs) => TReturnValue): SinonStub<TArgs, TReturnValue>;
|
||||
/**
|
||||
* Replaces a new getter for this stub.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user