From c3622a75ccf91dc2c29f19d101d3dd2d786e0ccd Mon Sep 17 00:00:00 2001 From: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> Date: Thu, 25 Dec 2025 02:46:05 +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 | 30 ++++--------------- 1 file changed, 6 insertions(+), 24 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 55c0849d9750..1e617266298b 100644 --- a/lib/node_modules/@stdlib/ndarray/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/ndarray/docs/types/index.d.ts @@ -139,10 +139,7 @@ interface Namespace { * * // Perform reduction: * var out = ns.any( x ); - * // returns - * - * var v = out.get(); - * // returns true + * // returns [ true ] * * @example * var Float64Array = require( '@stdlib/array/float64' ); @@ -171,10 +168,7 @@ interface Namespace { * * // Perform reduction: * var out = ns.any.assign( x, y ); - * // returns - * - * var v = out.get(); - * // returns true + * // returns [ true ] */ any: typeof any; @@ -675,10 +669,7 @@ interface Namespace { * * // Perform reduction: * var out = ns.countIf( x, predicate ); - * // returns - * - * var v = out.get(); - * // returns 5 + * // returns [ 5 ] * * @example * var Float64Array = require( '@stdlib/array/float64' ); @@ -711,10 +702,7 @@ interface Namespace { * * // Perform reduction: * var out = ns.countIf.assign( x, y, predicate ); - * // returns - * - * var v = out.get(); - * // returns 5 + * // returns [ 5 ] */ countIf: typeof countIf; @@ -748,10 +736,7 @@ interface Namespace { * * // Perform reduction: * var out = ns.countTruthy( x ); - * // returns - * - * var v = out.get(); - * // returns 5 + * // returns [ 5 ] * * @example * var Float64Array = require( '@stdlib/array/float64' ); @@ -780,10 +765,7 @@ interface Namespace { * * // Perform reduction: * var out = ns.countTruthy.assign( x, y ); - * // returns - * - * var v = out.get(); - * // returns 5 + * // returns [ 5 ] */ countTruthy: typeof countTruthy;