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.
thisArg
1 parent 83b8979 commit 2bb4efeCopy full SHA for 2bb4efe
lib/node_modules/@stdlib/utils/until/docs/types/index.d.ts
@@ -16,7 +16,7 @@
16
* limitations under the License.
17
*/
18
19
-// TypeScript Version: 2.0
+// TypeScript Version: 4.1
20
21
/**
22
* Checks whether an iteration number passes a test.
@@ -51,7 +51,7 @@ type Predicate = ( i: number ) => boolean;
51
*
52
* until( predicate, beep );
53
54
-declare function until( fcn: Function, predicate: Predicate, thisArg?: any ): void; // tslint:disable-line: max-line-length
+declare function until<T extends Function>( fcn: T, predicate: Predicate, thisArg?: ThisParameterType<T> ): void;
55
56
57
// EXPORTS //
0 commit comments