From: Jérôme Benoit Date: Wed, 5 Jan 2022 18:03:30 +0000 (+0100) Subject: Use type import for cluster Worker X-Git-Tag: v2.2.0~3 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=1d43bc4ccfb270c40e111aadb57c2a75fec828aa;p=poolifier.git Use type import for cluster Worker Signed-off-by: Jérôme Benoit --- diff --git a/src/pools/cluster/fixed.ts b/src/pools/cluster/fixed.ts index 9844c4a8..9d162d89 100644 --- a/src/pools/cluster/fixed.ts +++ b/src/pools/cluster/fixed.ts @@ -1,4 +1,5 @@ -import cluster, { Worker } from 'cluster' +import type { Worker } from 'cluster' +import cluster from 'cluster' import type { MessageValue } from '../../utility-types' import type { PoolOptions } from '../abstract-pool' import { AbstractPool } from '../abstract-pool'