Skip to content

Commit 07e8560

Browse files
committed
docs: fix example code and return annotation values
--- 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: passed - 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 78620b6 commit 07e8560

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lib/node_modules/@stdlib/error/tools/fmtprodmsg-factory/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ interface Options {
5858
* 'url': 'https://stdlib.io/error-decoder.html'
5959
* };
6060
*
61-
* var fcn = factory( opts );
61+
* var fcn = fmtprodmsgFactory( opts );
6262
* // returns <Function>
6363
*/
6464
declare function fmtprodmsgFactory( options?: Options ): FormatProdErrorMsgFunction;

lib/node_modules/@stdlib/error/tools/msg2id/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*
2727
* @example
2828
* var v = msg2id( 'invalid option. `%s` option must be an array. Option: `%s`.' );
29-
* // returns '8t'
29+
* // returns '8Z'
3030
*/
3131
declare function msg2id( msg: string ): string | null;
3232

lib/node_modules/@stdlib/error/tools/msg2id/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ var db;
4343
*
4444
* @example
4545
* var v = msg2id( 'invalid option. `%s` option must be an array. Option: `%s`.' );
46-
* // returns 'GX'
46+
* // returns '8Z'
4747
*/
4848
function msg2id( msg ) {
4949
if ( !isString( msg ) ) {

lib/node_modules/@stdlib/error/tools/pkg2id/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*
2727
* @example
2828
* var v = pkg2id( '@stdlib/math/base/special/sin' );
29-
* // returns '0H5'
29+
* // returns '0YK'
3030
*/
3131
declare function pkg2id( pkg: string ): string | null;
3232

0 commit comments

Comments
 (0)