From: Ardis Lu Date: Sat, 12 Jul 2025 06:22:50 +0000 (-0700) Subject: Re-export callback types X-Git-Tag: v0.1.4~6 X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=7693d7bcc142c574efc386f090d6aecebb44c02b;p=csvio 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. --- 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 */