docs: fix API documentation
[poolifier.git] / src / index.ts
index 54c352fc9f4f4b527201b4ef30198cd1c89e5c28..c9ee4c6376774d73edf2d9328ab33a9880c1ebf1 100644 (file)
@@ -24,7 +24,6 @@ export type {
   MeasurementStatistics,
   MessageHandler,
   OnlineHandler,
-  Task,
   TaskStatistics,
   WorkerInfo,
   WorkerType,
@@ -53,14 +52,15 @@ export { ThreadWorker } from './worker/thread-worker'
 export { KillBehaviors } from './worker/worker-options'
 export type { KillBehavior, WorkerOptions } from './worker/worker-options'
 export type {
+  TaskAsyncFunction,
+  TaskFunction,
   TaskFunctions,
-  WorkerAsyncFunction,
-  WorkerFunction,
-  WorkerSyncFunction
-} from './worker/worker-functions'
+  TaskSyncFunction
+} from './worker/task-functions'
 export type {
   MessageValue,
   PromiseResponseWrapper,
+  Task,
   TaskError,
   TaskPerformance,
   WorkerStatistics