fix: fix possible null exception with worker_threads pools
[poolifier.git] / src / index.ts
index 3c8392b82b6607070e40a3b4de0a00af6875dd6e..802742891b198d6eda4523a2a8989e0f1c2cb1a6 100644 (file)
@@ -52,8 +52,8 @@ export { ThreadWorker } from './worker/thread-worker'
 export { KillBehaviors } from './worker/worker-options'
 export type {
   KillBehavior,
-  WorkerOptions,
-  KillHandler
+  KillHandler,
+  WorkerOptions
 } from './worker/worker-options'
 export type {
   TaskAsyncFunction,
@@ -66,8 +66,8 @@ export type {
   MessageValue,
   PromiseResponseWrapper,
   Task,
-  WorkerError,
   TaskPerformance,
+  WorkerError,
   WorkerStatistics,
   Writable
 } from './utility-types'