From d2a703755e2ec573432d22f27ec95a496fe78c99 Mon Sep 17 00:00:00 2001 From: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> Date: Fri, 9 Jan 2026 02:48:23 +0000 Subject: [PATCH] feat: update `ndarray/base` TypeScript declarations Signed-off-by: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> --- .../@stdlib/ndarray/base/docs/types/index.d.ts | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/lib/node_modules/@stdlib/ndarray/base/docs/types/index.d.ts b/lib/node_modules/@stdlib/ndarray/base/docs/types/index.d.ts index 1c18cc9d0aa5..3050e0eeda73 100644 --- a/lib/node_modules/@stdlib/ndarray/base/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/ndarray/base/docs/types/index.d.ts @@ -1578,23 +1578,17 @@ interface Namespace { * * @param x - input array * @param axis - axis at which to insert a singleton dimension + * @param writable - boolean indicating whether the returned ndarray should be writable * @returns output array * * @example - * var getShape = require( '@stdlib/ndarray/shape' ); * var array = require( '@stdlib/ndarray/array' ); * * var x = array( [ [ 1, 2 ], [ 3, 4 ] ] ); * // returns [ [ 1, 2 ], [ 3, 4 ] ] * - * var shx = getShape( x ); - * // returns [ 2, 2 ] - * - * var y = ns.expandDimensions( x, 1 ); + * var y = ns.expandDimensions( x, 1, false ); * // returns [ [ [ 1, 2 ] ], [ [ 3, 4 ] ] ] - * - * var shy = getShape( y ); - * // returns [ 2, 1, 2 ] */ expandDimensions: typeof expandDimensions;