fix: export worker events also as enum
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 8 Jun 2023 10:46:57 +0000 (12:46 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 8 Jun 2023 10:46:57 +0000 (12:46 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
src/worker/index.ts

index 5c8a2534baa1991c0c031f18db235cc49d559e15..9bf1e284f84ec4fb64c45c635af91115d1605cb5 100644 (file)
@@ -4,7 +4,7 @@ export { WorkerFactory } from './WorkerFactory';
 export {
   type MessageHandler,
   type WorkerData,
-  type WorkerEvents,
+  WorkerEvents,
   type WorkerMessage,
   WorkerMessageEvents,
   WorkerProcessType,