Skip to content

Commit de7b62d

Browse files
authored
chore: use number
Signed-off-by: Muhammad Haris <[email protected]>
1 parent 89e6423 commit de7b62d

File tree

1 file changed

+5
-5
lines changed
  • lib/node_modules/@stdlib/blas/ext/base/slast-index-of/docs/types

1 file changed

+5
-5
lines changed

lib/node_modules/@stdlib/blas/ext/base/slast-index-of/docs/types/test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ import slastIndexOf = require( './index' );
5252

5353
// The compiler throws an error if the function is provided a third argument which is not a Float32Array...
5454
{
55-
slastIndexOf( x.length, 1.0, '1', 1 ); // $ExpectError
56-
slastIndexOf( x.length, 1.0, true, 1 ); // $ExpectError
57-
slastIndexOf( x.length, 1.0, false, 1 ); // $ExpectError
58-
slastIndexOf( x.length, 1.0, null, 1 ); // $ExpectError
59-
slastIndexOf( x.length, 1.0, {}, 1 ); // $ExpectError
55+
slastIndexOf( 3, 1.0, '1', 1 ); // $ExpectError
56+
slastIndexOf( 3, 1.0, true, 1 ); // $ExpectError
57+
slastIndexOf( 3, 1.0, false, 1 ); // $ExpectError
58+
slastIndexOf( 3, 1.0, null, 1 ); // $ExpectError
59+
slastIndexOf( 3, 1.0, {}, 1 ); // $ExpectError
6060
}
6161

6262
// The compiler throws an error if the function is provided a fourth argument which is not a number...

0 commit comments

Comments
 (0)