Skip to content

Commit fd2955b

Browse files
authored
test: update type expectations in stats/base/cumax
PR-URL: #7609 Closes: #7604 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 7cd152b commit fd2955b

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/stats/base/cumax/docs/types

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/stats/base/cumax/docs/types/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import cumax = require( './index' );
2727
const x = new Float64Array( 10 );
2828
const y = new Float64Array( 10 );
2929

30-
cumax( x.length, x, 1, y, 1 ); // $ExpectType NumericArray
30+
cumax( x.length, x, 1, y, 1 ); // $ExpectType Float64Array
3131
cumax( x.length, new AccessorArray( x ), 1, new AccessorArray( y ), 1 ); // $ExpectType AccessorArray<number>
3232
}
3333

@@ -125,7 +125,7 @@ import cumax = require( './index' );
125125
const x = new Float64Array( 10 );
126126
const y = new Float64Array( 10 );
127127

128-
cumax.ndarray( x.length, x, 1, 0, y, 1, 0 ); // $ExpectType NumericArray
128+
cumax.ndarray( x.length, x, 1, 0, y, 1, 0 ); // $ExpectType Float64Array
129129
cumax.ndarray( x.length, new AccessorArray( x ), 1, 0, new AccessorArray( y ), 1, 0 ); // $ExpectType AccessorArray<number>
130130
}
131131

0 commit comments

Comments
 (0)