From: Ardis Lu Date: Sun, 24 Aug 2025 04:29:29 +0000 (-0700) Subject: Broaden `value` type to `any` X-Git-Tag: v0.1.6~12 X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=82b02419f79ae30c6a75cc424c47f522ac1c76d7;p=csvio Broaden `value` type to `any` --- diff --git a/src/normalization.js b/src/normalization.js index 5b2304e..b140539 100644 --- a/src/normalization.js +++ b/src/normalization.js @@ -94,7 +94,7 @@ export function expandScientificNotation(str, truncate = false) { * @typedef {Object} CSVNormalizerField * @property {string} name The column name after normalization to camelCase. * @property {string} [displayName] The desired column name in the output CSV. - * @property {string|number} value The value of the field after attempted data casting. If the original field was empty, this value + * @property {any} value The value of the field after attempted data casting. If the original field was empty, this value * is set to the provided `defaultValue` or `''` (empty string) if no `defaultValue` was provided. * @property {boolean} [emptyField] Boolean to indicate whether the original field was empty. */