Skip to content

Commit 19c710e

Browse files
committed
Auto-generated commit
1 parent 86df6da commit 19c710e

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -716,6 +716,7 @@ A total of 43 issues were closed in this release:
716716

717717
<details>
718718

719+
- [`65aa64a`](https://github.com/stdlib-js/stdlib/commit/65aa64a2f860129b3ca2f09f47641e4355303799) - **chore:** minor clean-up _(by Philipp Burckhardt)_
719720
- [`dad3808`](https://github.com/stdlib-js/stdlib/commit/dad3808a07099bb09b7eaa4c03260aefee2e1ace) - **bench:** create empty ndarrays for better dtype generality _(by Athan Reines)_
720721
- [`11cc2cf`](https://github.com/stdlib-js/stdlib/commit/11cc2cf8869a4b6ebf48545d5678eda25513529e) - **fix:** use ndarray assertion utility _(by Athan Reines)_
721722
- [`ebe7a8b`](https://github.com/stdlib-js/stdlib/commit/ebe7a8b476f13186ac83014965e4b60e502e6135) - **feat:** add `ndarray/base/quaternary-loop-interchange-order` [(#9832)](https://github.com/stdlib-js/stdlib/pull/9832) _(by Muhammad Haris)_

base/quaternary-loop-interchange-order/docs/types/test.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ import quaternaryLoopOrder = require( './index' );
7474
quaternaryLoopOrder( sh, sx, '5', sz, sw, su ); // $ExpectError
7575
quaternaryLoopOrder( sh, sx, 123, sz, sw, su ); // $ExpectError
7676
quaternaryLoopOrder( sh, sx, {}, sz, sw, su ); // $ExpectError
77+
quaternaryLoopOrder( sh, sx, ( x: number ): number => x, sz, sw, su ); // $ExpectError
7778
}
7879

7980
// The compiler throws an error if the function is provided a fourth argument which is not an array-like object of numbers...
@@ -106,6 +107,21 @@ import quaternaryLoopOrder = require( './index' );
106107
quaternaryLoopOrder( sh, sx, sy, sz, ( x: number ): number => x, su ); // $ExpectError
107108
}
108109

110+
// The compiler throws an error if the function is provided a sixth argument which is not an array-like object of numbers...
111+
{
112+
const sh = [ 2, 2 ];
113+
const sx = [ 2, 1 ];
114+
const sy = [ 2, 1 ];
115+
const sz = [ 2, 1 ];
116+
const sw = [ 4, 2 ];
117+
quaternaryLoopOrder( sh, sx, sy, sz, sw, true ); // $ExpectError
118+
quaternaryLoopOrder( sh, sx, sy, sz, sw, false ); // $ExpectError
119+
quaternaryLoopOrder( sh, sx, sy, sz, sw, '5' ); // $ExpectError
120+
quaternaryLoopOrder( sh, sx, sy, sz, sw, 123 ); // $ExpectError
121+
quaternaryLoopOrder( sh, sx, sy, sz, sw, {} ); // $ExpectError
122+
quaternaryLoopOrder( sh, sx, sy, sz, sw, ( x: number ): number => x ); // $ExpectError
123+
}
124+
109125
// The compiler throws an error if the function is provided an unsupported number of arguments...
110126
{
111127
const sh = [ 2, 2 ];

0 commit comments

Comments
 (0)