Skip to content

Commit f3ba86a

Browse files
committed
Auto-generated commit
1 parent 5fa3eae commit f3ba86a

2 files changed

Lines changed: 3 additions & 9 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323
<details>
2424

25+
- [`81bb9b4`](https://github.com/stdlib-js/stdlib/commit/81bb9b4388146ac422e75697d177c2beeaf47d41) - **docs:** update `ndarray/iter` TypeScript declarations [(#12592)](https://github.com/stdlib-js/stdlib/pull/12592) _(by stdlib-bot)_
2526
- [`e08276d`](https://github.com/stdlib-js/stdlib/commit/e08276d789ba1671769175bf5d2c3c5f587f6dca) - **feat:** update `ndarray` TypeScript declarations [(#12593)](https://github.com/stdlib-js/stdlib/pull/12593) _(by stdlib-bot)_
2627
- [`4c3829b`](https://github.com/stdlib-js/stdlib/commit/4c3829b6cd5973e47ffe7c3b5a88ed1bfb7c63f6) - **chore:** propagate recent develop fixes to sibling packages [(#12558)](https://github.com/stdlib-js/stdlib/pull/12558) _(by Philipp Burckhardt)_
2728

iter/docs/types/index.d.ts

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -424,24 +424,17 @@ interface Namespace {
424424
*
425425
* @example
426426
* var array = require( './../../../array' );
427-
* var ndarray2array = require( './../../../to-array' );
428427
*
429428
* var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ] );
430429
* // returns <ndarray>
431430
*
432431
* var iter = ns.nditerStacks( x, [ 1, 2 ] );
433432
*
434433
* var v = iter.next().value;
435-
* // returns <ndarray>
436-
*
437-
* var arr = ndarray2array( v );
438-
* // returns [ [ 1, 2 ], [ 3, 4 ] ]
434+
* // returns <ndarray>[ [ 1, 2 ], [ 3, 4 ] ]
439435
*
440436
* v = iter.next().value;
441-
* // returns <ndarray>
442-
*
443-
* arr = ndarray2array( v );
444-
* // returns [ [ 5, 6 ], [ 7, 8 ] ]
437+
* // returns <ndarray>[ [ 5, 6 ], [ 7, 8 ] ]
445438
*
446439
* // ...
447440
*/

0 commit comments

Comments
 (0)