From 65a8915ba1d6daf56616c49fd087bac6aed6d7fe Mon Sep 17 00:00:00 2001 From: Planeshifter <1913638+Planeshifter@users.noreply.github.com> Date: Tue, 18 Mar 2025 02:33:27 +0000 Subject: [PATCH] feat: update namespace TypeScript declarations Signed-off-by: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> --- .../@stdlib/console/docs/types/index.d.ts | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/lib/node_modules/@stdlib/console/docs/types/index.d.ts b/lib/node_modules/@stdlib/console/docs/types/index.d.ts index ac7e9562e127..da913252f872 100644 --- a/lib/node_modules/@stdlib/console/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/console/docs/types/index.d.ts @@ -22,6 +22,7 @@ import log = require( '@stdlib/console/log' ); import logEach = require( '@stdlib/console/log-each' ); +import logEachMap = require( '@stdlib/console/log-each-map' ); /** * Interface describing the `console` namespace. @@ -60,6 +61,33 @@ interface Namespace { * // e.g., => '1 < 4\n2 < 5\n3 < 6\n' */ logEach: typeof logEach; + + /** + * Inserts array element values and the result of a callback function into a format string and prints the result. + * + * ## Notes + * + * - If an interpolated argument is not a collection, the argument is broadcasted for each iteration. + * + * @param str - format string + * @param arg0 - first input value + * @param arg1 - second input value + * @param arg2 - third input value + * @param args - additional input values + * + * @example + * function clbk( x, y, z ) { + * return x + y + z; + * } + * + * var x = [ 1, 2, 3 ]; + * var y = [ 4, 5, 6 ]; + * var z = [ 7, 8, 9 ]; + * + * ns.logEachMap( '%d', x, y, z, clbk ); + * // e.g., => '12\n15\n18\n' + */ + logEachMap: typeof logEachMap; } /**