X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fworker%2FWorkerFactory.ts;h=a6679cca73149c07fb6130feb6eb4f8bc62dfd80;hb=a723e7e9df355545fc6a41bdcbb9debfae22db5f;hp=d95f4d326f6dff656b9be314cecf1683ff1110b0;hpb=44a95b7fc8487ae8116f89820ca03cb108dfada8;p=e-mobility-charging-stations-simulator.git diff --git a/src/worker/WorkerFactory.ts b/src/worker/WorkerFactory.ts index d95f4d32..a6679cca 100644 --- a/src/worker/WorkerFactory.ts +++ b/src/worker/WorkerFactory.ts @@ -1,7 +1,8 @@ import { Worker, isMainThread } from 'worker_threads'; -import { WorkerData, WorkerOptions, WorkerProcessType } from '../types/Worker'; -import { PoolOptions } from 'poolifier'; +import type { PoolOptions } from 'poolifier'; + +import { WorkerData, WorkerOptions, WorkerProcessType } from '../types/Worker'; import type WorkerAbstract from './WorkerAbstract'; import WorkerConstants from './WorkerConstants'; import WorkerDynamicPool from './WorkerDynamicPool';