]> git.ardis.lu - csvio/commitdiff
Broaden `value` type to `any`
authorArdis Lu <ardisglu@gmail.com>
Sun, 24 Aug 2025 04:29:29 +0000 (21:29 -0700)
committerArdis Lu <ardisglu@gmail.com>
Sun, 24 Aug 2025 04:29:29 +0000 (21:29 -0700)
src/normalization.js

index 5b2304e08d60e6addc2f2add9be7fd8d36bddd81..b1405396390e72d8fafb4fc3d42bbf4a4d4a5c5d 100644 (file)
@@ -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.
  */
This page took 0.036132 seconds and 4 git commands to generate.