From dc91072a1bd6419ed5d71ca9323ec92e76f458db Mon Sep 17 00:00:00 2001 From: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> Date: Mon, 25 May 2026 03:20:48 +0000 Subject: [PATCH] feat: update `assert` TypeScript declarations Signed-off-by: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> --- .../@stdlib/assert/docs/types/index.d.ts | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/lib/node_modules/@stdlib/assert/docs/types/index.d.ts b/lib/node_modules/@stdlib/assert/docs/types/index.d.ts index daaa73cc5cdb..4ca2b6f77316 100644 --- a/lib/node_modules/@stdlib/assert/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/assert/docs/types/index.d.ts @@ -2755,10 +2755,11 @@ interface Namespace { * @returns boolean indicating if a value is a 2-dimensional ndarray-like object whose underlying data type is `complex128` * * @example - * var Complex128Array = require( '@stdlib/array/complex128' ); - * var ndarray = require( '@stdlib/ndarray/ctor' ); + * var zeros = require( '@stdlib/ndarray/zeros' ); * - * var arr = ndarray( 'complex128', new Complex128Array( [ 0, 0, 0, 0, 0, 0, 0, 0 ] ), [ 2, 2 ], [ 2, 1 ], 0, 'row-major' ); + * var arr = zeros( [ 2, 2 ], { + * 'dtype': 'complex128' + * }); * * var bool = ns.isComplex128MatrixLike( arr ); * // returns true @@ -2775,10 +2776,11 @@ interface Namespace { * @returns boolean indicating if a value is an ndarray-like object whose underlying data type is `complex128` * * @example - * var Complex128Array = require( '@stdlib/array/complex128' ); - * var ndarray = require( '@stdlib/ndarray/ctor' ); + * var zeros = require( '@stdlib/ndarray/zeros' ); * - * var arr = ndarray( 'complex128', new Complex128Array( [ 0, 0, 0, 0, 0, 0, 0, 0 ] ), [ 2, 2 ], [ 2, 1 ], 0, 'row-major' ); + * var arr = zeros( [ 2, 2 ], { + * 'dtype': 'complex128' + * }); * * var bool = ns.isComplex128ndarrayLike( arr ); * // returns true @@ -2795,10 +2797,11 @@ interface Namespace { * @returns boolean indicating if a value is a 1-dimensional ndarray-like object whose underlying data type is `complex128` * * @example - * var Complex128Array = require( '@stdlib/array/complex128' ); - * var ndarray = require( '@stdlib/ndarray/ctor' ); + * var zeros = require( '@stdlib/ndarray/zeros' ); * - * var arr = ndarray( 'complex128', new Complex128Array( [ 0, 0, 0, 0, 0, 0, 0, 0 ] ), [ 4 ], [ 1 ], 0, 'row-major' ); + * var arr = zeros( [ 4 ], { + * 'dtype': 'complex128' + * }); * * var bool = ns.isComplex128VectorLike( arr ); * // returns true