Skip to content

Commit d131eed

Browse files
authored
test: fix broken tests
Signed-off-by: Athan <kgryte@gmail.com>
1 parent 720a30f commit d131eed

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

  • lib/node_modules/@stdlib/ndarray/rot90/docs/types

lib/node_modules/@stdlib/ndarray/rot90/docs/types/test.ts

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

2727
// The function returns an ndarray...
2828
{
29-
rot90( zeros( [ 2, 2 ] ) ); // $ExpectType typedndarray<number>
30-
rot90( zeros( [ 2, 2 ] ), {} ); // $ExpectType typedndarray<number>
31-
rot90( zeros( [ 2, 2 ] ), { 'k': 2 } ); // $ExpectType typedndarray<number>
32-
rot90( zeros( [ 2, 2 ] ), { 'dims': [ 0, 1 ] } ); // $ExpectType typedndarray<number>
33-
rot90( zeros( [ 2, 2 ] ), { 'k': 2, 'dims': [ 0, 1 ] } ); // $ExpectType typedndarray<number>
29+
rot90( zeros( [ 2, 2 ] ) ); // $ExpectType float64ndarray
30+
rot90( zeros( [ 2, 2 ] ), {} ); // $ExpectType float64ndarray
31+
rot90( zeros( [ 2, 2 ] ), { 'k': 2 } ); // $ExpectType float64ndarray
32+
rot90( zeros( [ 2, 2 ] ), { 'dims': [ 0, 1 ] } ); // $ExpectType float64ndarray
33+
rot90( zeros( [ 2, 2 ] ), { 'k': 2, 'dims': [ 0, 1 ] } ); // $ExpectType float64ndarray
3434
}
3535

3636
// The compiler throws an error if the function is provided a first argument which is not an ndarray...

0 commit comments

Comments
 (0)