From 8651f8e3e45cdafb1f1424d34d7d94b13ef4264f Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Sat, 18 Jan 2025 22:24:33 -0800 Subject: [PATCH] Populate JSDoc descriptions for TransformationFunction --- src/core.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core.js b/src/core.js index a86c8ed..d5a9d97 100644 --- a/src/core.js +++ b/src/core.js @@ -140,8 +140,8 @@ export function createCSVReadableStream(path) { /** * A function to process a row or rows of CSV data from `createCSVReadableStream`. * @callback TransformationFunction - * @param {TransformationInput} row - * @returns {TransformationOutput} + * @param {TransformationInput} row A row or rows of input CSV data before transformation. + * @returns {TransformationOutput} A row or rows of output CSV data after transformation, or null to skip a row. */ /** -- 2.47.3