Skip to content

Commit 5ad6b7d

Browse files
author
Brian Ojeda
committed
Allow for dynamic args
1 parent f06f6b0 commit 5ad6b7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export interface Stubber {
4646
thenReturn<T>(...args: any[]): TestDouble<T>;
4747
thenDo<T>(f: Function): TestDouble<T>;
4848
thenThrow<T>(e: Error): TestDouble<T>;
49-
thenResolve<T>(v: any): TestDouble<T>;
49+
thenResolve<T>(...args: any[]): TestDouble<T>;
5050
thenReject<T>(e: Error): TestDouble<T>;
5151
thenCallback<T>(...args: any[]): TestDouble<T>;
5252
}

0 commit comments

Comments
 (0)