Skip to content

Commit 7808da1

Browse files
committed
docs: add missing quote and replace incorrect closing curly braces
--- 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 78717d2 commit 7808da1

File tree

1 file changed

+4
-4
lines changed
  • lib/node_modules/@stdlib/array/from-scalar/docs/types

1 file changed

+4
-4
lines changed

lib/node_modules/@stdlib/array/from-scalar/docs/types/index.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ declare function scalar2array( value: number | ComplexLike, dtype: 'complex64' )
112112
* @returns output array
113113
*
114114
* @example
115-
* var x = scalar2array( 1, 'int32' };
115+
* var x = scalar2array( 1, 'int32' );
116116
* // returns <Int32Array>[ 1 ]
117117
*/
118118
declare function scalar2array( value: number, dtype: 'int32' ): Int32Array;
@@ -125,7 +125,7 @@ declare function scalar2array( value: number, dtype: 'int32' ): Int32Array;
125125
* @returns output array
126126
*
127127
* @example
128-
* var x = scalar2array( 1, 'int16' };
128+
* var x = scalar2array( 1, 'int16' );
129129
* // returns <Int16Array>[ 1 ]
130130
*/
131131
declare function scalar2array( value: number, dtype: 'int16' ): Int16Array;
@@ -138,7 +138,7 @@ declare function scalar2array( value: number, dtype: 'int16' ): Int16Array;
138138
* @returns output array
139139
*
140140
* @example
141-
* var x = scalar2array( 1, 'int8' }
141+
* var x = scalar2array( 1, 'int8' );
142142
* // returns <Int8Array>[ 1 ]
143143
*/
144144
declare function scalar2array( value: number, dtype: 'int8' ): Int8Array;
@@ -177,7 +177,7 @@ declare function scalar2array( value: number, dtype: 'uint16' ): Uint16Array;
177177
* @returns output array
178178
*
179179
* @example
180-
* var x = scalar2array( 1, 'uint8 };
180+
* var x = scalar2array( 1, 'uint8' );
181181
* // returns <Uint8Array>[ 1 ]
182182
*/
183183
declare function scalar2array( value: number, dtype: 'uint8' ): Uint8Array;

0 commit comments

Comments
 (0)