Skip to content

Commit 5feedbc

Browse files
committed
docs: do not pass in options object to avoid cast error
--- 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: na - task: lint_license_headers status: passed ---
1 parent 33d711b commit 5feedbc

File tree

14 files changed

+14
-40
lines changed

14 files changed

+14
-40
lines changed

lib/node_modules/@stdlib/ndarray/iter/column-entries/docs/types/index.d.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,7 @@ interface Options {
5656
* var ndarray2array = require( '@stdlib/ndarray/to-array' );
5757
* var array = require( '@stdlib/ndarray/array' );
5858
*
59-
* var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ], {
60-
* 'dtype': 'float64'
61-
* });
59+
* var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ] );
6260
* // returns <ndarray>
6361
*
6462
* var iter = nditerColumnEntries( x );

lib/node_modules/@stdlib/ndarray/iter/columns/docs/types/index.d.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,7 @@ interface Options {
5252
* var array = require( '@stdlib/ndarray/array' );
5353
* var ndarray2array = require( '@stdlib/ndarray/to-array' );
5454
*
55-
* var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ], {
56-
* 'dtype': 'float64'
57-
* });
55+
* var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ] );
5856
* // returns <ndarray>
5957
*
6058
* var iter = nditerColumns( x );

lib/node_modules/@stdlib/ndarray/iter/entries/docs/types/index.d.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,7 @@ interface Options {
5555
* @example
5656
* var array = require( '@stdlib/ndarray/array' );
5757
*
58-
* var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ], {
59-
* 'dtype': 'float64'
60-
* });
58+
* var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ] );
6159
* // returns <ndarray>
6260
*
6361
* var iter = nditerEntries( x );

lib/node_modules/@stdlib/ndarray/iter/indices/docs/types/index.d.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,7 @@ interface Options {
5151
* @example
5252
* var array = require( '@stdlib/ndarray/array' );
5353
*
54-
* var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ], {
55-
* 'dtype': 'float64'
56-
* });
54+
* var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ] );
5755
* // returns <ndarray>
5856
*
5957
* var iter = nditerIndices( x.shape );

lib/node_modules/@stdlib/ndarray/iter/interleave-subarrays/docs/types/index.d.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ type Iterator<T> = TypedIterator<T> | TypedIterableIterator<T>;
4343
* var array = require( '@stdlib/ndarray/array' );
4444
* var ndarray2array = require( '@stdlib/ndarray/to-array' );
4545
*
46-
* var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ], {
47-
* 'dtype': 'float64'
48-
* });
46+
* var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ] );
4947
* // returns <ndarray>
5048
*
5149
* var iter = nditerInterleaveSubarrays( [ x, x ], 2 );

lib/node_modules/@stdlib/ndarray/iter/matrices/docs/types/index.d.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,7 @@ interface Options {
5252
* var array = require( '@stdlib/ndarray/array' );
5353
* var ndarray2array = require( '@stdlib/ndarray/to-array' );
5454
*
55-
* var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ], {
56-
* 'dtype': 'float64'
57-
* });
55+
* var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ] );
5856
* // returns <ndarray>
5957
*
6058
* var iter = nditerMatrices( x );

lib/node_modules/@stdlib/ndarray/iter/matrix-entries/docs/types/index.d.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,7 @@ interface Options {
5656
* var ndarray2array = require( '@stdlib/ndarray/to-array' );
5757
* var array = require( '@stdlib/ndarray/array' );
5858
*
59-
* var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ], {
60-
* 'dtype': 'float64'
61-
* });
59+
* var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ] );
6260
* // returns <ndarray>
6361
*
6462
* var iter = nditerMatrixEntries( x );

lib/node_modules/@stdlib/ndarray/iter/row-entries/docs/types/index.d.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,7 @@ interface Options {
5656
* var ndarray2array = require( '@stdlib/ndarray/to-array' );
5757
* var array = require( '@stdlib/ndarray/array' );
5858
*
59-
* var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ], {
60-
* 'dtype': 'float64'
61-
* });
59+
* var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ] );
6260
* // returns <ndarray>
6361
*
6462
* var iter = nditerRowEntries( x );

lib/node_modules/@stdlib/ndarray/iter/rows/docs/types/index.d.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,7 @@ interface Options {
5252
* var array = require( '@stdlib/ndarray/array' );
5353
* var ndarray2array = require( '@stdlib/ndarray/to-array' );
5454
*
55-
* var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ], {
56-
* 'dtype': 'float64'
57-
* });
55+
* var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ] );
5856
* // returns <ndarray>
5957
*
6058
* var iter = nditerRows( x );

lib/node_modules/@stdlib/ndarray/iter/select-dimension/docs/types/index.d.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,7 @@ interface Options {
6363
* var array = require( '@stdlib/ndarray/array' );
6464
* var ndarray2array = require( '@stdlib/ndarray/to-array' );
6565
*
66-
* var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ], {
67-
* 'dtype': 'float64'
68-
* });
66+
* var x = array( [ [ [ 1, 2 ], [ 3, 4 ] ], [ [ 5, 6 ], [ 7, 8 ] ] ] );
6967
* // returns <ndarray>
7068
*
7169
* var iter = nditerSelectDimension( x, 0 );

0 commit comments

Comments
 (0)