Skip to content

Commit fd73484

Browse files
committed
Auto-generated commit
1 parent 2de1036 commit fd73484

2 files changed

Lines changed: 31 additions & 29 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323
<details>
2424

25+
- [`67f7557`](https://github.com/stdlib-js/stdlib/commit/67f7557ca13ab425513196b26601e46f8a059ac2) - **chore:** clean-up [(#13283)](https://github.com/stdlib-js/stdlib/pull/13283) _(by Philipp Burckhardt)_
2526
- [`2c4aec3`](https://github.com/stdlib-js/stdlib/commit/2c4aec3f6c56e646c02a447bd1e81ae1e9972404) - **feat:** add `blas/ext/base/gfirst-index-equal` [(#13266)](https://github.com/stdlib-js/stdlib/pull/13266) _(by Muhammad Haris, Athan Reines)_
2627

2728
</details>
@@ -34,10 +35,11 @@
3435

3536
### Contributors
3637

37-
A total of 2 people contributed to this release. Thank you to the following contributors:
38+
A total of 3 people contributed to this release. Thank you to the following contributors:
3839

3940
- Athan Reines
4041
- Muhammad Haris
42+
- Philipp Burckhardt
4143

4244
</section>
4345

docs/types/test.ts

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@ import gfirstIndexEqual = require( './index' );
2424

2525
// The function returns a number...
2626
{
27-
var x = [ 1.0, 2.0, 3.0 ];
28-
var y = [ 1.0, 2.0, 3.0 ];
27+
const x = [ 1.0, 2.0, 3.0 ];
28+
const y = [ 1.0, 2.0, 3.0 ];
2929

3030
gfirstIndexEqual( x.length, x, 1, y, 1 ); // $ExpectType number
3131
gfirstIndexEqual( x.length, new AccessorArray( x ), 1, new AccessorArray( y ), 1 ); // $ExpectType number
3232
}
3333

3434
// The compiler throws an error if the function is provided a first argument which is not a number...
3535
{
36-
var x = [ 1.0, 2.0, 3.0 ];
37-
var y = [ 1.0, 2.0, 3.0 ];
36+
const x = [ 1.0, 2.0, 3.0 ];
37+
const y = [ 1.0, 2.0, 3.0 ];
3838

3939
gfirstIndexEqual( '1', x, 1, y, 1 ); // $ExpectError
4040
gfirstIndexEqual( true, x, 1, y, 1 ); // $ExpectError
@@ -48,7 +48,7 @@ import gfirstIndexEqual = require( './index' );
4848

4949
// The compiler throws an error if the function is provided a second argument which is not a collection...
5050
{
51-
var y = [ 1.0, 2.0, 3.0 ];
51+
const y = [ 1.0, 2.0, 3.0 ];
5252

5353
gfirstIndexEqual( 3, 10, 1, y, 1 ); // $ExpectError
5454
gfirstIndexEqual( 3, true, 1, y, 1 ); // $ExpectError
@@ -60,8 +60,8 @@ import gfirstIndexEqual = require( './index' );
6060

6161
// The compiler throws an error if the function is provided a third argument which is not a number...
6262
{
63-
var x = [ 1.0, 2.0, 3.0 ];
64-
var y = [ 1.0, 2.0, 3.0 ];
63+
const x = [ 1.0, 2.0, 3.0 ];
64+
const y = [ 1.0, 2.0, 3.0 ];
6565

6666
gfirstIndexEqual( x.length, x, '1', y, 1 ); // $ExpectError
6767
gfirstIndexEqual( x.length, x, true, y, 1 ); // $ExpectError
@@ -75,7 +75,7 @@ import gfirstIndexEqual = require( './index' );
7575

7676
// The compiler throws an error if the function is provided a fourth argument which is not a collection...
7777
{
78-
var x = [ 1.0, 2.0, 3.0 ];
78+
const x = [ 1.0, 2.0, 3.0 ];
7979

8080
gfirstIndexEqual( x.length, x, 1, 10, 1 ); // $ExpectError
8181
gfirstIndexEqual( x.length, x, 1, true, 1 ); // $ExpectError
@@ -87,8 +87,8 @@ import gfirstIndexEqual = require( './index' );
8787

8888
// The compiler throws an error if the function is provided a fifth argument which is not a number...
8989
{
90-
var x = [ 1.0, 2.0, 3.0 ];
91-
var y = [ 1.0, 2.0, 3.0 ];
90+
const x = [ 1.0, 2.0, 3.0 ];
91+
const y = [ 1.0, 2.0, 3.0 ];
9292

9393
gfirstIndexEqual( x.length, x, 1, y, '1' ); // $ExpectError
9494
gfirstIndexEqual( x.length, x, 1, y, true ); // $ExpectError
@@ -102,8 +102,8 @@ import gfirstIndexEqual = require( './index' );
102102

103103
// The compiler throws an error if the function is provided an unsupported number of arguments...
104104
{
105-
var x = [ 1.0, 2.0, 3.0 ];
106-
var y = [ 1.0, 2.0, 3.0 ];
105+
const x = [ 1.0, 2.0, 3.0 ];
106+
const y = [ 1.0, 2.0, 3.0 ];
107107

108108
gfirstIndexEqual(); // $ExpectError
109109
gfirstIndexEqual( 3 ); // $ExpectError
@@ -115,17 +115,17 @@ import gfirstIndexEqual = require( './index' );
115115

116116
// Attached to main export is an `ndarray` method which returns a number...
117117
{
118-
var x = [ 1.0, 2.0, 3.0 ];
119-
var y = [ 1.0, 2.0, 3.0 ];
118+
const x = [ 1.0, 2.0, 3.0 ];
119+
const y = [ 1.0, 2.0, 3.0 ];
120120

121121
gfirstIndexEqual.ndarray( x.length, x, 1, 0, y, 1, 0 ); // $ExpectType number
122122
gfirstIndexEqual.ndarray( x.length, new AccessorArray( x ), 1, 0, new AccessorArray( y ), 1, 0 ); // $ExpectType number
123123
}
124124

125125
// The compiler throws an error if the `ndarray` method is provided a first argument which is not a number...
126126
{
127-
var x = [ 1.0, 2.0, 3.0 ];
128-
var y = [ 1.0, 2.0, 3.0 ];
127+
const x = [ 1.0, 2.0, 3.0 ];
128+
const y = [ 1.0, 2.0, 3.0 ];
129129

130130
gfirstIndexEqual.ndarray( '1', x, 1, 0, y, 1, 0 ); // $ExpectError
131131
gfirstIndexEqual.ndarray( true, x, 1, 0, y, 1, 0 ); // $ExpectError
@@ -139,7 +139,7 @@ import gfirstIndexEqual = require( './index' );
139139

140140
// The compiler throws an error if the `ndarray` method is provided a second argument which is not a collection...
141141
{
142-
var y = [ 1.0, 2.0, 3.0 ];
142+
const y = [ 1.0, 2.0, 3.0 ];
143143

144144
gfirstIndexEqual.ndarray( 3, 10, 1, 0, y, 1, 0 ); // $ExpectError
145145
gfirstIndexEqual.ndarray( 3, true, 1, 0, y, 1, 0 ); // $ExpectError
@@ -151,8 +151,8 @@ import gfirstIndexEqual = require( './index' );
151151

152152
// The compiler throws an error if the `ndarray` method is provided a third argument which is not a number...
153153
{
154-
var x = [ 1.0, 2.0, 3.0 ];
155-
var y = [ 1.0, 2.0, 3.0 ];
154+
const x = [ 1.0, 2.0, 3.0 ];
155+
const y = [ 1.0, 2.0, 3.0 ];
156156

157157
gfirstIndexEqual.ndarray( x.length, x, '1', 0, y, 1, 0 ); // $ExpectError
158158
gfirstIndexEqual.ndarray( x.length, x, true, 0, y, 1, 0 ); // $ExpectError
@@ -166,8 +166,8 @@ import gfirstIndexEqual = require( './index' );
166166

167167
// The compiler throws an error if the `ndarray` method is provided a fourth argument which is not a number...
168168
{
169-
var x = [ 1.0, 2.0, 3.0 ];
170-
var y = [ 1.0, 2.0, 3.0 ];
169+
const x = [ 1.0, 2.0, 3.0 ];
170+
const y = [ 1.0, 2.0, 3.0 ];
171171

172172
gfirstIndexEqual.ndarray( x.length, x, 1, '1', y, 1, 0 ); // $ExpectError
173173
gfirstIndexEqual.ndarray( x.length, x, 1, true, y, 1, 0 ); // $ExpectError
@@ -181,7 +181,7 @@ import gfirstIndexEqual = require( './index' );
181181

182182
// The compiler throws an error if the `ndarray` method is provided a fifth argument which is not a collection...
183183
{
184-
var x = [ 1.0, 2.0, 3.0 ];
184+
const x = [ 1.0, 2.0, 3.0 ];
185185

186186
gfirstIndexEqual.ndarray( x.length, x, 1, 0, 10, 1, 0 ); // $ExpectError
187187
gfirstIndexEqual.ndarray( x.length, x, 1, 0, true, 1, 0 ); // $ExpectError
@@ -193,8 +193,8 @@ import gfirstIndexEqual = require( './index' );
193193

194194
// The compiler throws an error if the `ndarray` method is provided a sixth argument which is not a number...
195195
{
196-
var x = [ 1.0, 2.0, 3.0 ];
197-
var y = [ 1.0, 2.0, 3.0 ];
196+
const x = [ 1.0, 2.0, 3.0 ];
197+
const y = [ 1.0, 2.0, 3.0 ];
198198

199199
gfirstIndexEqual.ndarray( x.length, x, 1, 0, y, '1', 0 ); // $ExpectError
200200
gfirstIndexEqual.ndarray( x.length, x, 1, 0, y, true, 0 ); // $ExpectError
@@ -208,8 +208,8 @@ import gfirstIndexEqual = require( './index' );
208208

209209
// The compiler throws an error if the `ndarray` method is provided a seventh argument which is not a number...
210210
{
211-
var x = [ 1.0, 2.0, 3.0 ];
212-
var y = [ 1.0, 2.0, 3.0 ];
211+
const x = [ 1.0, 2.0, 3.0 ];
212+
const y = [ 1.0, 2.0, 3.0 ];
213213

214214
gfirstIndexEqual.ndarray( x.length, x, 1, 0, y, 1, '1' ); // $ExpectError
215215
gfirstIndexEqual.ndarray( x.length, x, 1, 0, y, 1, true ); // $ExpectError
@@ -223,8 +223,8 @@ import gfirstIndexEqual = require( './index' );
223223

224224
// The compiler throws an error if the `ndarray` method is provided an unsupported number of arguments...
225225
{
226-
var x = [ 1.0, 2.0, 3.0 ];
227-
var y = [ 1.0, 2.0, 3.0 ];
226+
const x = [ 1.0, 2.0, 3.0 ];
227+
const y = [ 1.0, 2.0, 3.0 ];
228228

229229
gfirstIndexEqual.ndarray(); // $ExpectError
230230
gfirstIndexEqual.ndarray( 3 ); // $ExpectError

0 commit comments

Comments
 (0)