From: Ardis Lu Date: Sun, 19 Jan 2025 07:56:42 +0000 (-0800) Subject: Add JSDoc type to output rows X-Git-Tag: v0.1.0~110 X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=eadd130ae3bdbf92713added7167ee834041302b;p=csvio Add JSDoc type to output rows --- diff --git a/src/normalization.js b/src/normalization.js index 0c463aa..5824d8d 100644 --- a/src/normalization.js +++ b/src/normalization.js @@ -263,6 +263,7 @@ export class CSVNormalizer extends TransformStream { return; } + /** @type {Array} */ const out = []; for (const { name, type, displayName, defaultValue, index } of this.#columns) { let value = row[index];