]> git.ardis.lu - csvio/commitdiff
Re-export callback types
authorArdis Lu <ardisglu@gmail.com>
Sat, 12 Jul 2025 06:22:50 +0000 (23:22 -0700)
committerArdis Lu <ardisglu@gmail.com>
Sat, 12 Jul 2025 06:22:50 +0000 (23:22 -0700)
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

index 98edabd6fbd8503f5a634d59e87398a6790b4380..514f46aeae96cab688ef4c922b2b43770e78d85d 100644 (file)
@@ -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 */
This page took 0.036214 seconds and 4 git commands to generate.