From 7e607b116397fad6c99cc39ae93cfdd991be2171 Mon Sep 17 00:00:00 2001 From: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> Date: Fri, 30 Oct 2026 02:20:15 +0000 Subject: [PATCH] feat: update `ndarray` TypeScript declarations Signed-off-by: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> --- .../@stdlib/ndarray/docs/types/index.d.ts | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/lib/node_modules/@stdlib/ndarray/docs/types/index.d.ts b/lib/node_modules/@stdlib/ndarray/docs/types/index.d.ts index ed51fcac5009..146e161375a8 100644 --- a/lib/node_modules/@stdlib/ndarray/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/ndarray/docs/types/index.d.ts @@ -3504,7 +3504,6 @@ interface Namespace { * * @example * var ndarray = require( '@stdlib/ndarray/ctor' ); - * var ndarray2array = require( '@stdlib/ndarray/to-array' ); * * var buffer = [ 1, 2, 3, 4, 5, 6 ]; * var shape = [ 3, 2 ]; @@ -3512,22 +3511,16 @@ interface Namespace { * var offset = 0; * * var x = ndarray( 'generic', buffer, shape, strides, offset, 'row-major' ); - * // returns + * // returns [ [ 1, 2 ], [ 3, 4 ], [ 5, 6 ] ] * * var sh = x.shape; * // returns [ 3, 2 ] * - * var arr = ndarray2array( x ); - * // returns [ [ 1, 2 ], [ 3, 4 ], [ 5, 6 ] ] - * * var y = ns.sliceFrom( x, 1, null ); - * // returns + * // returns [ [ 3, 4 ], [ 5, 6 ] ] * * sh = y.shape; * // returns [ 2, 2 ] - * - * arr = ndarray2array( y ); - * // returns [ [ 3, 4 ], [ 5, 6 ] ] */ sliceFrom: typeof sliceFrom;