Skip to content

Commit dff4820

Browse files
fix: update blas/ext/base/gapx TypeScript test type expectations
PR-URL: #12169 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 10cef3d commit dff4820

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • lib/node_modules/@stdlib/blas/ext/base/gapx/docs/types

lib/node_modules/@stdlib/blas/ext/base/gapx/docs/types/test.ts

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

2929
gapx( x.length, 5.0, x, 1 ); // $ExpectType Float64Array
30-
gapx( x.length, 5.0, new AccessorArray( x ), 1 ); // $ExpectType AccessorArray
30+
gapx( x.length, 5.0, new AccessorArray( x ), 1 ); // $ExpectType AccessorArray<number>
3131
}
3232

3333
// The compiler throws an error if the function is provided a first argument which is not a number...
@@ -103,7 +103,7 @@ import gapx = require( './index' );
103103
const x = new Float64Array( 10 );
104104

105105
gapx.ndarray( x.length, 5.0, x, 1, 0 ); // $ExpectType Float64Array
106-
gapx.ndarray( x.length, 5.0, new AccessorArray( x ), 1, 0 ); // $ExpectType AccessorArray
106+
gapx.ndarray( x.length, 5.0, new AccessorArray( x ), 1, 0 ); // $ExpectType AccessorArray<number>
107107
}
108108

109109
// The compiler throws an error if the `ndarray` method is provided a first argument which is not a number...

0 commit comments

Comments
 (0)