Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@
* dt = String( getDType( y ) );
* // returns 'float64'
*/
declare function onesLike<T extends genericndarray<any> | typedndarray<number | ComplexLike>>( x: T, options?: Options ): T;

Check warning on line 299 in lib/node_modules/@stdlib/ndarray/ones-like/docs/types/index.d.ts

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unexpected any. Specify a different type

/**
* Creates a ones-filled ndarray having the same shape and data type as a provided input ndarray.
Expand Down Expand Up @@ -335,7 +335,7 @@
* dt = String( getDType( y ) );
* // returns 'generic'
*/
declare function onesLike( x: genericndarray<any>, options?: Options ): genericndarray<number>;

Check warning on line 338 in lib/node_modules/@stdlib/ndarray/ones-like/docs/types/index.d.ts

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unexpected any. Specify a different type

/**
* Creates a ones-filled double-precision floating-point array having the same shape as a provided input ndarray.
Expand Down Expand Up @@ -422,7 +422,7 @@
declare function onesLike( x: ndarray, options: Float32Options ): float32ndarray;

/**
* Creates a ones-filled single-precision floating-point array having the same shape as a provided input ndarray.
* Creates a ones-filled half-precision floating-point array having the same shape as a provided input ndarray.
*
* @param x - input array
* @param options - options
Expand Down
Loading