Skip to content

Commit b8cb183

Browse files
committed
Auto-generated commit
1 parent 7db1476 commit b8cb183

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

complex128/docs/types/index.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ declare class Complex128Array implements Complex128ArrayInterface {
308308
* var bool = arr.every( predicate );
309309
* // returns true
310310
*/
311-
every<U = unknown>( predicate: Predicate, thisArg?: ThisParameterType<Predicate<U>> ): boolean;
311+
every<U = unknown>( predicate: Predicate<U>, thisArg?: ThisParameterType<Predicate<U>> ): boolean;
312312

313313
/**
314314
* Returns the first element in an array for which a predicate function returns a truthy value.
@@ -340,7 +340,7 @@ declare class Complex128Array implements Complex128ArrayInterface {
340340
* var im = imag( z );
341341
* // returns 1.0
342342
*/
343-
find<U = unknown>( predicate: Predicate, thisArg?: ThisParameterType<Predicate<U>> ): Complex128 | void;
343+
find<U = unknown>( predicate: Predicate<U>, thisArg?: ThisParameterType<Predicate<U>> ): Complex128 | void;
344344

345345
/**
346346
* Returns the index of the first element in an array for which a predicate function returns a truthy value.
@@ -398,7 +398,7 @@ declare class Complex128Array implements Complex128ArrayInterface {
398398
* var im = imag( z );
399399
* // returns 3.0
400400
*/
401-
findLast<U = unknown>( predicate: Predicate, thisArg?: ThisParameterType<Predicate<U>> ): Complex128 | void;
401+
findLast<U = unknown>( predicate: Predicate<U>, thisArg?: ThisParameterType<Predicate<U>> ): Complex128 | void;
402402

403403
/**
404404
* Returns an array element.
@@ -503,7 +503,7 @@ declare class Complex128Array implements Complex128ArrayInterface {
503503
* var bool = arr.some( predicate );
504504
* // returns true
505505
*/
506-
some<U = unknown>( predicate: Predicate, thisArg?: ThisParameterType<Predicate<U>> ): boolean;
506+
some<U = unknown>( predicate: Predicate<U>, thisArg?: ThisParameterType<Predicate<U>> ): boolean;
507507
}
508508

509509
/**

complex64/docs/types/index.d.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ declare class Complex64Array implements Complex64ArrayInterface {
387387
* var bool = arr.every( predicate );
388388
* // returns true
389389
*/
390-
every<U = unknown>( predicate: Predicate, thisArg?: ThisParameterType<Predicate<U>> ): boolean;
390+
every<U = unknown>( predicate: Predicate<U>, thisArg?: ThisParameterType<Predicate<U>> ): boolean;
391391

392392
/**
393393
* Returns a new array containing the elements of an array which pass a test implemented by a predicate function.
@@ -425,7 +425,7 @@ declare class Complex64Array implements Complex64ArrayInterface {
425425
* var im = imagf( z );
426426
* // returns 2.0
427427
*/
428-
filter<U = unknown>( predicate: Predicate, thisArg?: ThisParameterType<Predicate<U>> ): Complex64Array;
428+
filter<U = unknown>( predicate: Predicate<U>, thisArg?: ThisParameterType<Predicate<U>> ): Complex64Array;
429429

430430
/**
431431
* Returns the first element in an array for which a predicate function returns a truthy value.
@@ -458,7 +458,7 @@ declare class Complex64Array implements Complex64ArrayInterface {
458458
* var im = imagf( z );
459459
* // returns 1.0
460460
*/
461-
find<U = unknown>( predicate: Predicate, thisArg?: ThisParameterType<Predicate<U>> ): Complex64 | void;
461+
find<U = unknown>( predicate: Predicate<U>, thisArg?: ThisParameterType<Predicate<U>> ): Complex64 | void;
462462

463463
/**
464464
* Returns the index of the first element in an array for which a predicate function returns a truthy value.
@@ -485,7 +485,7 @@ declare class Complex64Array implements Complex64ArrayInterface {
485485
* var idx = arr.findIndex( predicate );
486486
* // returns 2
487487
*/
488-
findIndex<U = unknown>( predicate: Predicate, thisArg?: ThisParameterType<Predicate<U>> ): number;
488+
findIndex<U = unknown>( predicate: Predicate<U>, thisArg?: ThisParameterType<Predicate<U>> ): number;
489489

490490
/**
491491
* Returns the last element in an array for which a predicate function returns a truthy value.
@@ -518,7 +518,7 @@ declare class Complex64Array implements Complex64ArrayInterface {
518518
* var im = imagf( z );
519519
* // returns 3.0
520520
*/
521-
findLast<U = unknown>( predicate: Predicate, thisArg?: ThisParameterType<Predicate<U>> ): Complex64 | void;
521+
findLast<U = unknown>( predicate: Predicate<U>, thisArg?: ThisParameterType<Predicate<U>> ): Complex64 | void;
522522

523523
/**
524524
* Returns the index of the last element in an array for which a predicate function returns a truthy value.
@@ -545,7 +545,7 @@ declare class Complex64Array implements Complex64ArrayInterface {
545545
* var idx = arr.findLastIndex( predicate );
546546
* // returns 1
547547
*/
548-
findLastIndex<U = unknown>( predicate: Predicate, thisArg?: ThisParameterType<Predicate<U>> ): number;
548+
findLastIndex<U = unknown>( predicate: Predicate<U>, thisArg?: ThisParameterType<Predicate<U>> ): number;
549549

550550
/**
551551
* Invokes a function once for each array element.
@@ -572,7 +572,7 @@ declare class Complex64Array implements Complex64ArrayInterface {
572572
* // => 1: 2 + 2i
573573
* // => 2: 3 + 3i
574574
*/
575-
forEach<U = unknown>( fcn: Callback, thisArg?: ThisParameterType<Callback<U>> ): void;
575+
forEach<U = unknown>( fcn: Callback<U>, thisArg?: ThisParameterType<Callback<U>> ): void;
576576

577577
/**
578578
* Returns an array element.
@@ -760,7 +760,7 @@ declare class Complex64Array implements Complex64ArrayInterface {
760760
* var bool = arr.some( predicate );
761761
* // returns true
762762
*/
763-
some<U = unknown>( predicate: Predicate, thisArg?: ThisParameterType<Predicate<U>> ): boolean;
763+
some<U = unknown>( predicate: Predicate<U>, thisArg?: ThisParameterType<Predicate<U>> ): boolean;
764764

765765
/**
766766
* Creates a new typed array view over the same underlying `ArrayBuffer` and with the same underlying data type as the host array.

0 commit comments

Comments
 (0)