Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/stats/base/cumin/docs/types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import cumin = require( './index' );
const x = new Float64Array( 10 );
const y = new Float64Array( 10 );

cumin( x.length, x, 1, y, 1 ); // $ExpectType NumericArray
cumin( x.length, x, 1, y, 1 ); // $ExpectType Float64Array
cumin( x.length, new AccessorArray( x ), 1, new AccessorArray( y ), 1 ); // $ExpectType AccessorArray<number>
}

Expand Down Expand Up @@ -125,7 +125,7 @@ import cumin = require( './index' );
const x = new Float64Array( 10 );
const y = new Float64Array( 10 );

cumin.ndarray( x.length, x, 1, 0, y, 1, 0 ); // $ExpectType NumericArray
cumin.ndarray( x.length, x, 1, 0, y, 1, 0 ); // $ExpectType Float64Array
cumin.ndarray( x.length, new AccessorArray( x ), 1, 0, new AccessorArray( y ), 1, 0 ); // $ExpectType AccessorArray<number>
}

Expand Down