From 7693d7bcc142c574efc386f090d6aecebb44c02b Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Fri, 11 Jul 2025 23:22:50 -0700 Subject: [PATCH] Re-export callback types These types were initially missed because they are defined with the `callback` annotation and not `typedef`. For future completeness, search for `export type` in the generated declaration files. --- src/index.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/index.js b/src/index.js index 98edabd..514f46a 100644 --- a/src/index.js +++ b/src/index.js @@ -4,6 +4,12 @@ export { ErrorStrategies } from './errorStrategies.js'; /** @typedef {import('./core.js').CSVReaderOptions} CSVReaderOptions */ /** @typedef {import('./core.js').TransformationOutput} TransformationOutput */ +/** @typedef {import('./core.js').TransformationFunction} TransformationFunction */ +/** @typedef {import('./core.js').TransformationFunctionRaw} TransformationFunctionRaw */ +/** @typedef {import('./core.js').TransformationFunctionBatch} TransformationFunctionBatch */ +/** @typedef {import('./core.js').TransformationErrorFunction} TransformationErrorFunction */ +/** @typedef {import('./core.js').TransformationErrorFunctionRaw} TransformationErrorFunctionRaw */ +/** @typedef {import('./core.js').TransformationErrorFunctionBatch} TransformationErrorFunctionBatch */ /** @typedef {import('./core.js').CSVTransformerOptions} CSVTransformerOptions */ /** @typedef {import('./core.js').CSVTransformerOptionsRaw} CSVTransformerOptionsRaw */ /** @typedef {import('./core.js').CSVTransformerOptionsBatch} CSVTransformerOptionsBatch */ -- 2.47.3