Skip to content

Commit fdd3aa1

Browse files
authored
docs: update ndarray TypeScript declarations
PR-URL: #9335 Reviewed-by: Philipp Burckhardt <pburckhardt@outlook.com> Signed-off-by: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com>
1 parent d876e80 commit fdd3aa1

File tree

1 file changed

+3
-9
lines changed
  • lib/node_modules/@stdlib/ndarray/docs/types

1 file changed

+3
-9
lines changed

lib/node_modules/@stdlib/ndarray/docs/types/index.d.ts

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -606,10 +606,7 @@ interface Namespace {
606606
*
607607
* // Perform reduction:
608608
* var out = ns.countFalsy( x );
609-
* // returns <ndarray>
610-
*
611-
* var v = out.get();
612-
* // returns 1
609+
* // returns <ndarray>[ 1 ]
613610
*
614611
* @example
615612
* var Float64Array = require( '@stdlib/array/float64' );
@@ -638,10 +635,7 @@ interface Namespace {
638635
*
639636
* // Perform reduction:
640637
* var out = ns.countFalsy.assign( x, y );
641-
* // returns <ndarray>
642-
*
643-
* var v = out.get();
644-
* // returns 1
638+
* // returns <ndarray>[ 1 ]
645639
*/
646640
countFalsy: typeof countFalsy;
647641

@@ -1285,7 +1279,7 @@ interface Namespace {
12851279
* @param options - function options
12861280
* @param options.dims - list of dimensions over which to perform a reduction
12871281
* @param options.keepdims - boolean indicating whether the reduced dimensions should be included in the returned ndarray as singleton dimensions (default: false)
1288-
* @param options.sentinelValue - sentinel value
1282+
* @param options.sentinel - sentinel value
12891283
* @param predicate - predicate function
12901284
* @param thisArg - predicate execution context
12911285
* @returns output ndarray

0 commit comments

Comments
 (0)