Skip to content

Commit 00390b7

Browse files
authored
fix: add missing method in declaration tests
PR-URL: #2900 Reviewed-by: Athan Reines <[email protected]>
1 parent 33c18e1 commit 00390b7

File tree

1 file changed

+9
-9
lines changed
  • lib/node_modules/@stdlib/blas/base/cscal/docs/types

1 file changed

+9
-9
lines changed

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -147,15 +147,15 @@ import cscal = require( './index' );
147147
const cx = new Complex64Array( 10 );
148148
const ca = new Complex64( 2.0, 2.0 );
149149

150-
cscal( cx.length, ca, 10, 1, 0 ); // $ExpectError
151-
cscal( cx.length, ca, '10', 1, 0 ); // $ExpectError
152-
cscal( cx.length, ca, true, 1, 0 ); // $ExpectError
153-
cscal( cx.length, ca, false, 1, 0 ); // $ExpectError
154-
cscal( cx.length, ca, null, 1, 0 ); // $ExpectError
155-
cscal( cx.length, ca, undefined, 1, 0 ); // $ExpectError
156-
cscal( cx.length, ca, [ '1' ], 1, 0 ); // $ExpectError
157-
cscal( cx.length, ca, {}, 1, 0 ); // $ExpectError
158-
cscal( cx.length, ca, ( cx: number ): number => cx, 1, 0 ); // $ExpectError
150+
cscal.ndarray( cx.length, ca, 10, 1, 0 ); // $ExpectError
151+
cscal.ndarray( cx.length, ca, '10', 1, 0 ); // $ExpectError
152+
cscal.ndarray( cx.length, ca, true, 1, 0 ); // $ExpectError
153+
cscal.ndarray( cx.length, ca, false, 1, 0 ); // $ExpectError
154+
cscal.ndarray( cx.length, ca, null, 1, 0 ); // $ExpectError
155+
cscal.ndarray( cx.length, ca, undefined, 1, 0 ); // $ExpectError
156+
cscal.ndarray( cx.length, ca, [ '1' ], 1, 0 ); // $ExpectError
157+
cscal.ndarray( cx.length, ca, {}, 1, 0 ); // $ExpectError
158+
cscal.ndarray( cx.length, ca, ( cx: number ): number => cx, 1, 0 ); // $ExpectError
159159
}
160160

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

0 commit comments

Comments
 (0)