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 @@ -60,7 +60,7 @@
* var x = scalar2array( true, 'bool' );
* // returns <BooleanArray>
*/
declare function scalar2array( value: any, dtype: 'bool' ): BooleanArray;

Check warning on line 63 in lib/node_modules/@stdlib/array/from-scalar/docs/types/index.d.ts

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unexpected any. Specify a different type

/**
* Returns a single-element array containing a provided scalar value.
Expand Down Expand Up @@ -190,7 +190,7 @@
* @returns output array
*
* @example
* var x = scalar2array( 1, uint8c' );
* var x = scalar2array( 1, 'uint8c' );
* // returns <Uint8ClampedArray>[]
*/
declare function scalar2array( value: number, dtype: 'uint8c' ): Uint8ClampedArray;
Expand Down
Loading