refactor: cleanup exported modules
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 17 Oct 2023 20:30:00 +0000 (22:30 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 17 Oct 2023 20:30:00 +0000 (22:30 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
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'