From 1d43bc4ccfb270c40e111aadb57c2a75fec828aa Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Wed, 5 Jan 2022 19:03:30 +0100 Subject: [PATCH] Use type import for cluster Worker MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/pools/cluster/fixed.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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' -- 2.34.1