We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f06f6b0 commit 5ad6b7dCopy full SHA for 5ad6b7d
index.d.ts
@@ -46,7 +46,7 @@ export interface Stubber {
46
thenReturn<T>(...args: any[]): TestDouble<T>;
47
thenDo<T>(f: Function): TestDouble<T>;
48
thenThrow<T>(e: Error): TestDouble<T>;
49
- thenResolve<T>(v: any): TestDouble<T>;
+ thenResolve<T>(...args: any[]): TestDouble<T>;
50
thenReject<T>(e: Error): TestDouble<T>;
51
thenCallback<T>(...args: any[]): TestDouble<T>;
52
}
0 commit comments