Skip to content

Commit ff50310

Browse files
committed
chore: fix lint errors
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: passed - task: lint_license_headers status: passed ---
1 parent e4d5f21 commit ff50310

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,16 +83,16 @@ type MapFunction = Nullary | Unary | Binary | Ternary;
8383
* return v * 10.0;
8484
* }
8585
*
86-
* var iter = arrayview2iteratorRight( [ 1, 2, 3, 4 ], fcn );
86+
* var iter = arrayview2iteratorRight( [ 1.0, 2.0, 3.0, 4.0 ], fcn );
8787
*
8888
* var v = iter.next().value;
89-
* // returns 3
89+
* // returns 40.0
9090
*
9191
* v = iter.next().value;
92-
* // returns 2
92+
* // returns 30.0
9393
*
9494
* var bool = iter.next().done;
95-
* // returns true
95+
* // returns false
9696
*/
9797
declare function arrayview2iteratorRight( src: ArrayLike<any>, mapFcn?: MapFunction, thisArg?: any ): Iterator;
9898

@@ -109,10 +109,10 @@ declare function arrayview2iteratorRight( src: ArrayLike<any>, mapFcn?: MapFunct
109109
* var iter = arrayview2iteratorRight( [ 1, 2, 3, 4 ], 1 );
110110
*
111111
* var v = iter.next().value;
112-
* // returns 3
112+
* // returns 4
113113
*
114114
* v = iter.next().value;
115-
* // returns 2
115+
* // returns 3
116116
*
117117
* var bool = iter.next().done;
118118
* // returns false

lib/node_modules/@stdlib/blas/ext/index-of/docs/types/index.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ interface IndexOf {
218218
*
219219
* var x = array( [ -1.0, 2.0, -3.0 ] );
220220
*
221-
* var y = indexOf( x, 2.0 );
221+
* var y = indexOf( x, 2.0, 0 );
222222
* // returns <ndarray>
223223
*
224224
* var idx = y.get();
@@ -228,19 +228,19 @@ interface IndexOf {
228228
* var zeros = require( '@stdlib/ndarray/zeros' );
229229
* var array = require( '@stdlib/ndarray/array' );
230230
*
231-
* var x = array( [ -1.0, 2.0, -3.0 ] );
232-
* var y = zeros( x, {
231+
* var x = array( [ -1.0, 2.0, -3.0, 2.0, -5.0, 6.0 ] );
232+
* var y = zeros( [], {
233233
* 'dtype': 'int32'
234234
* } );
235235
*
236-
* var out = indexOf.assign( x, 2.0, y );
236+
* var out = indexOf.assign( x, 2.0, 2, y );
237237
* // returns <ndarray>
238238
*
239239
* var bool = ( out === y );
240240
* // returns true
241241
*
242242
* var idx = out.get();
243-
* // returns 1
243+
* // returns 3
244244
*/
245245
declare const indexOf: IndexOf;
246246

lib/node_modules/@stdlib/stats/base/dists/invgamma/ctor/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
/**
2222
* Inverse gamma distribution.
2323
*/
24-
declare class InverseGamma {
24+
declare class InvGamma {
2525
/**
2626
* Inverse gamma distribution constructor.
2727
*
@@ -139,4 +139,4 @@ declare class InverseGamma {
139139

140140
// EXPORTS //
141141

142-
export = InverseGamma;
142+
export = InvGamma;

lib/node_modules/@stdlib/stats/base/dists/invgamma/ctor/docs/types/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ import InverseGamma = require( './index' );
2525

2626
// The function returns a distribution instance...
2727
{
28-
new InverseGamma(); // $ExpectType InverseGamma
29-
new InverseGamma( 1.0, 2.0 ); // $ExpectType InverseGamma
28+
new InverseGamma(); // $ExpectType InvGamma
29+
new InverseGamma( 1.0, 2.0 ); // $ExpectType InvGamma
3030
}
3131

3232
// The compiler throws an error if the function is provided values other than two numbers...

0 commit comments

Comments
 (0)