Skip to content

Commit 975147f

Browse files
committed
docs: fix TSDoc lint errors
1 parent 5b989a6 commit 975147f

File tree

12 files changed

+12
-12
lines changed

12 files changed

+12
-12
lines changed

lib/node_modules/@stdlib/array/base/accessors/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,7 @@ declare function accessors<T = unknown>( x: Array<T> ): GenericAccessorObject<T>
874874
* '2': 3,
875875
* '4': 4,
876876
* 'length': 4
877-
};
877+
* };
878878
* var obj = accessors( x );
879879
* // returns {...}
880880
*

lib/node_modules/@stdlib/array/base/arraylike2object/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@ declare function arraylike2object<T = unknown>( x: Array<T> ): GenericAccessorOb
10161016
* '2': 3,
10171017
* '4': 4,
10181018
* 'length': 4
1019-
};
1019+
* };
10201020
* var obj = arraylike2object( x );
10211021
* // returns {...}
10221022
*

lib/node_modules/@stdlib/array/base/filled/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
/**
2222
* Returns a filled "generic" array.
2323
*
24-
* @param value - fill value
24+
* @param value - fill value,
2525
* @param len - array length
2626
* @returns output array
2727
*

lib/node_modules/@stdlib/array/filled-by/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ declare function filledarrayBy( array: Collection, dtype: DataType, clbk: Callba
151151
* var arr = filledarrayBy( it, constantFunction( 1.0 ) );
152152
* // returns <Float64Array>[ 1.0, 1.0, 1.0 ]
153153
*/
154-
declare function filledarrayBy( iterable: IterableIterator, callback: Callback, thisArg?: any ): ArrayOrTypedArray; // eslint-disable-line @typescript-eslint/unified-signatures
154+
declare function filledarrayBy( iterable: IterableIterator, clbk: Callback, thisArg?: any ): ArrayOrTypedArray; // eslint-disable-line @typescript-eslint/unified-signatures
155155

156156
/**
157157
* Creates a filled array from an iterable according to a callback function.
@@ -172,7 +172,7 @@ declare function filledarrayBy( iterable: IterableIterator, callback: Callback,
172172
* var arr = filledarrayBy( it, 'float64', constantFunction( 1.0 ) );
173173
* // returns <Float64Array>[ 1.0, 1.0, 1.0 ]
174174
*/
175-
declare function filledarrayBy( iterable: IterableIterator, dtype: DataType, callback: Callback, thisArg?: any ): ArrayOrTypedArray; // eslint-disable-line @typescript-eslint/unified-signatures
175+
declare function filledarrayBy( iterable: IterableIterator, dtype: DataType, clbk: Callback, thisArg?: any ): ArrayOrTypedArray; // eslint-disable-line @typescript-eslint/unified-signatures
176176

177177
/**
178178
* Returns a filled typed array view of an `ArrayBuffer` according to a provided callback function.

lib/node_modules/@stdlib/array/logspace/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
* var arr = logspace( 0, 2, 6 );
3232
* // returns [ 1, ~2.5, ~6.31, ~15.85, ~39.81, 100 ]
3333
*/
34-
declare function logspace( x1: number, x2: number, len?: number ): Array<number>;
34+
declare function logspace( a: number, b: number, len?: number ): Array<number>;
3535

3636

3737
// EXPORTS //

lib/node_modules/@stdlib/array/promotion-rules/docs/types/index.d.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,6 @@ declare function promotionRules( dtype1: string, dtype2: string ): null;
7878
/**
7979
* Returns a type promotion table displaying array data types with the smallest size and closest "kind" to which array data types can be safely cast.
8080
*
81-
* @param dtype1 - array data type
82-
* @param dtype2 - array data type
8381
* @returns promotion rule table
8482
*
8583
* @example

lib/node_modules/@stdlib/array/to-iterator/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ type MapFunction = Nullary | Unary | Binary | Ternary;
7474
* Returns an iterator which iterates over each element in an array-like object.
7575
*
7676
* @param src - input value
77-
* @param mapFc - function to invoke for each iterated value
77+
* @param mapFcn - function to invoke for each iterated value
7878
* @param thisArg - execution context
7979
* @returns iterator
8080
*

lib/node_modules/@stdlib/blas/tools/swap-factory/docs/types/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ type SwapFunction = ( x: ndarray, y: ndarray, dim?: number ) => ndarray;
6161
*
6262
* @param base - "base" function which interchanges two vectors
6363
* @param dtype - array data type
64+
* @returns function wrapper
6465
*
6566
* @example
6667
* var Float64Array = require( '@stdlib/array/float64' );

lib/node_modules/@stdlib/complex/float64/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ interface Namespace {
8787
* Parse a string representation of a 128-bit complex number.
8888
*
8989
* @param str - string representation of a complex number
90-
* @returns Complex128 instance
9190
* @throws must provide a string recognized as a complex number
91+
* @returns Complex128 instance
9292
*
9393
* @example
9494
* var str = '5 + 3i';

lib/node_modules/@stdlib/complex/float64/parse/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ import { Complex128 } from '@stdlib/types/complex';
2929
* Parse a string representation of a 128-bit complex number.
3030
*
3131
* @param str - string representation of a complex number
32-
* @returns Complex128 instance
3332
* @throws must provide a string recognized as a complex number
33+
* @returns Complex128 instance
3434
*
3535
* @example
3636
* var str = '5 + 3i';

0 commit comments

Comments
 (0)