refactor: cleanup worker import
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 3 Jun 2023 07:51:14 +0000 (09:51 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sat, 3 Jun 2023 07:51:14 +0000 (09:51 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/worker/abstract-worker.ts

index 8e55b30152fc60fb47a403ad31c44e7fc32457dd..91a45e94b0f36c568326460891332d61d7de0731 100644 (file)
@@ -9,8 +9,11 @@ import type {
   WorkerSyncFunction
 } from '../utility-types'
 import { EMPTY_FUNCTION, isPlainObject } from '../utils'
-import type { KillBehavior, WorkerOptions } from './worker-options'
-import { KillBehaviors } from './worker-options'
+import {
+  type KillBehavior,
+  KillBehaviors,
+  type WorkerOptions
+} from './worker-options'
 
 const DEFAULT_FUNCTION_NAME = 'default'
 const DEFAULT_MAX_INACTIVE_TIME = 60000