@@ -109,11 +109,11 @@ import slastIndexOf = require( './index' );
109109
110110// The compiler throws an error if the `ndarray` method is provided a third argument which is not a Float32Array...
111111{
112- slastIndexOf . ndarray ( x . length , 1.0 , '1' , 1 , 1 ) ; // $ExpectError
113- slastIndexOf . ndarray ( x . length , 1.0 , true , 1 , 1 ) ; // $ExpectError
114- slastIndexOf . ndarray ( x . length , 1.0 , false , 1 , 1 ) ; // $ExpectError
115- slastIndexOf . ndarray ( x . length , 1.0 , null , 1 , 1 ) ; // $ExpectError
116- slastIndexOf . ndarray ( x . length , 1.0 , { } , 1 , 1 ) ; // $ExpectError
112+ slastIndexOf . ndarray ( 3 , 1.0 , '1' , 1 , 1 ) ; // $ExpectError
113+ slastIndexOf . ndarray ( 3 , 1.0 , true , 1 , 1 ) ; // $ExpectError
114+ slastIndexOf . ndarray ( 3 , 1.0 , false , 1 , 1 ) ; // $ExpectError
115+ slastIndexOf . ndarray ( 3 , 1.0 , null , 1 , 1 ) ; // $ExpectError
116+ slastIndexOf . ndarray ( 3 , 1.0 , { } , 1 , 1 ) ; // $ExpectError
117117}
118118
119119// The compiler throws an error if the `ndarray` method is provided a fourth argument which is not a number...
0 commit comments