Skip to content

Commit c89f767

Browse files
committed
Auto-generated commit
1 parent 6689dff commit c89f767

28 files changed

Lines changed: 28 additions & 29 deletions

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,7 @@ A total of 31 issues were closed in this release:
604604

605605
<details>
606606

607+
- [`4667d97`](https://github.com/stdlib-js/stdlib/commit/4667d97da041e8685f8f8c25a5345fa289dbaf9c) - **docs:** update type _(by Athan Reines)_
607608
- [`4b8a736`](https://github.com/stdlib-js/stdlib/commit/4b8a736be3db63bd001c4b556bf69f60045a9df2) - **feat:** add `ndarray/base/copy` [(#8329)](https://github.com/stdlib-js/stdlib/pull/8329) _(by Muhammad Haris, Athan Reines)_
608609
- [`4b9391c`](https://github.com/stdlib-js/stdlib/commit/4b9391cd318c753562d9c670fe2946e012fb15cb) - **chore:** fix C lint errors [(#8309)](https://github.com/stdlib-js/stdlib/pull/8309) _(by Navyansh Kesarwani, Athan Reines)_
609610
- [`a0de0e6`](https://github.com/stdlib-js/stdlib/commit/a0de0e64cebbdca08b7625a8357902c08268e92e) - **chore:** fix JavaScript lint errors [(#8226)](https://github.com/stdlib-js/stdlib/pull/8226) _(by Bhupesh Kumar, Athan Reines)_

base/find/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ type Predicate<T, U, ThisArg> = Nullary<ThisArg> | Unary<T, ThisArg> | Binary<T,
111111
* var out = find( [ x, sv ], predicate );
112112
* // returns 2.0
113113
*/
114-
declare function find<T = unknown, U extends typedndarray<T> = typedndarray<T>, V = unknown, ThisArg = unknown >( arrays: [ typedndarray<T>, typedndarray<V> ], predicate: Predicate<T, U, ThisArg>, thisArg?: ThisParameterType<Predicate<T, U, ThisArg>> ): T | V;
114+
declare function find<T = unknown, U extends typedndarray<T> = typedndarray<T>, V = unknown, ThisArg = unknown>( arrays: [ typedndarray<T>, typedndarray<V> ], predicate: Predicate<T, U, ThisArg>, thisArg?: ThisParameterType<Predicate<T, U, ThisArg>> ): T | V;
115115

116116

117117
// EXPORTS //

base/find/docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function clbk( v: any ): boolean {
3737

3838
// TESTS //
3939

40-
// The function returns a number...
40+
// The function returns a value having an expected data type...
4141
{
4242
const x = zeros( [ 2, 2 ], {
4343
'dtype': 'float64'

base/find/examples/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,10 @@
1818

1919
'use strict';
2020

21-
/* eslint-disable stdlib/no-redeclare */
22-
2321
var discreteUniform = require( '@stdlib/random/array/discrete-uniform' );
2422
var Float64Array = require( '@stdlib/array/float64' );
2523
var ndarray2array = require( './../../../base/to-array' );
26-
var find = require( './../lib' );
24+
var find = require( './../lib' ); // eslint-disable-line stdlib/no-redeclare
2725

2826
function isEven( value ) {
2927
return value % 2.0 === 0.0;

base/find/lib/0d.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* @private
2727
* @param {Object} x - object containing ndarray meta data
2828
* @param {ndarrayLike} x.ref - reference to the original ndarray-like object
29-
* @param {string} x.dtype - data type
29+
* @param {*} x.dtype - data type
3030
* @param {Collection} x.data - data buffer
3131
* @param {NonNegativeIntegerArray} x.shape - dimensions
3232
* @param {IntegerArray} x.strides - stride lengths

base/find/lib/0d_accessors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* @private
2727
* @param {Object} x - object containing ndarray meta data
2828
* @param {ndarrayLike} x.ref - reference to the original ndarray-like object
29-
* @param {string} x.dtype - data type
29+
* @param {*} x.dtype - data type
3030
* @param {Collection} x.data - data buffer
3131
* @param {NonNegativeIntegerArray} x.shape - dimensions
3232
* @param {IntegerArray} x.strides - stride lengths

base/find/lib/10d.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ var take = require( '@stdlib/array/base/take-indexed' );
3636
* @private
3737
* @param {Object} x - object containing ndarray meta data
3838
* @param {ndarrayLike} x.ref - reference to the original ndarray-like object
39-
* @param {string} x.dtype - data type
39+
* @param {*} x.dtype - data type
4040
* @param {Collection} x.data - data buffer
4141
* @param {NonNegativeIntegerArray} x.shape - dimensions
4242
* @param {IntegerArray} x.strides - stride lengths

base/find/lib/10d_accessors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ var take = require( '@stdlib/array/base/take-indexed' );
3636
* @private
3737
* @param {Object} x - object containing ndarray meta data
3838
* @param {ndarrayLike} x.ref - reference to the original ndarray-like object
39-
* @param {string} x.dtype - data type
39+
* @param {*} x.dtype - data type
4040
* @param {Collection} x.data - data buffer
4141
* @param {NonNegativeIntegerArray} x.shape - dimensions
4242
* @param {IntegerArray} x.strides - stride lengths

base/find/lib/1d.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* @private
2727
* @param {Object} x - object containing ndarray meta data
2828
* @param {ndarrayLike} x.ref - reference to the original ndarray-like object
29-
* @param {string} x.dtype - data type
29+
* @param {*} x.dtype - data type
3030
* @param {Collection} x.data - data buffer
3131
* @param {NonNegativeIntegerArray} x.shape - dimensions
3232
* @param {IntegerArray} x.strides - stride lengths

base/find/lib/1d_accessors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* @private
2727
* @param {Object} x - object containing ndarray meta data
2828
* @param {ndarrayLike} x.ref - reference to the original ndarray-like object
29-
* @param {string} x.dtype - data type
29+
* @param {*} x.dtype - data type
3030
* @param {Collection} x.data - data buffer
3131
* @param {NonNegativeIntegerArray} x.shape - dimensions
3232
* @param {IntegerArray} x.strides - stride lengths

0 commit comments

Comments
 (0)