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;