Skip to content

Commit 92f575b

Browse files
committed
Auto-generated commit
1 parent fbd09a1 commit 92f575b

File tree

2 files changed

+9
-15
lines changed

2 files changed

+9
-15
lines changed

CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -805,7 +805,6 @@ A total of 44 issues were closed in this release:
805805

806806
<details>
807807

808-
- [`60e78d4`](https://github.com/stdlib-js/stdlib/commit/60e78d484b31ca96b47f36c260db2620bd40f555) - **docs:** update `ndarray` TypeScript declarations [(#11132)](https://github.com/stdlib-js/stdlib/pull/11132) _(by stdlib-bot)_
809808
- [`baef022`](https://github.com/stdlib-js/stdlib/commit/baef0223f86db141fa6a1dabc15ec6c5fa2f0f59) - **feat:** update `ndarray/base` TypeScript declarations [(#11131)](https://github.com/stdlib-js/stdlib/pull/11131) _(by stdlib-bot)_
810809
- [`ae72f8e`](https://github.com/stdlib-js/stdlib/commit/ae72f8e7910cbfd1a0204bedd7f46bff23c74aa0) - **test:** use corrected expected type for `complex64` tests _(by Athan Reines)_
811810
- [`2a1517f`](https://github.com/stdlib-js/stdlib/commit/2a1517fe8ee92381e9db01cab5f99241c542a6fc) - **test:** use correct expected type in complex64 tests for `ndarray/base/ones` _(by Philipp Burckhardt)_

docs/types/index.d.ts

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3410,16 +3410,13 @@ interface Namespace {
34103410
* @returns zero-filled array
34113411
*
34123412
* @example
3413-
* var getShape = require( './../../shape' );
3414-
* var getDType = require( './../../dtype' );
3415-
*
34163413
* var arr = ns.zeros( [ 2, 2 ] );
3417-
* // returns <ndarray>[ [ 0.0, 0.0 ], [ 0.0, 0.0 ] ]
3414+
* // returns <ndarray>
34183415
*
3419-
* var sh = getShape( arr );
3416+
* var sh = arr.shape;
34203417
* // returns [ 2, 2 ]
34213418
*
3422-
* var dt = String( getDType( arr ) );
3419+
* var dt = arr.dtype;
34233420
* // returns 'float64'
34243421
*/
34253422
zeros: typeof zeros;
@@ -3438,28 +3435,26 @@ interface Namespace {
34383435
* @returns zero-filled array
34393436
*
34403437
* @example
3441-
* var getShape = require( './../../shape' );
3442-
* var getDType = require( './../../dtype' );
34433438
* var zeros = require( './../../zeros' );
34443439
*
34453440
* var x = zeros( [ 2, 2 ], {
34463441
* 'dtype': 'float64'
34473442
* });
3448-
* // returns <ndarray>[ [ 0.0, 0.0 ], [ 0.0, 0.0 ] ]
3443+
* // returns <ndarray>
34493444
*
3450-
* var sh = getShape( x );
3445+
* var sh = x.shape;
34513446
* // returns [ 2, 2 ]
34523447
*
3453-
* var dt = String( getDType( x ) );
3448+
* var dt = x.dtype;
34543449
* // returns 'float64'
34553450
*
34563451
* var y = ns.zerosLike( x );
3457-
* // returns <ndarray>[ [ 0.0, 0.0 ], [ 0.0, 0.0 ] ]
3452+
* // returns <ndarray>
34583453
*
3459-
* sh = getShape( y );
3454+
* sh = y.shape;
34603455
* // returns [ 2, 2 ]
34613456
*
3462-
* dt = String( getDType( y ) );
3457+
* dt = y.dtype;
34633458
* // returns 'float64'
34643459
*/
34653460
zerosLike: typeof zerosLike;

0 commit comments

Comments
 (0)