repositories
/
poolifier.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0295156
)
Use type import for cluster Worker
author
Jérôme Benoit
<jerome.benoit@sap.com>
Wed, 5 Jan 2022 18:03:30 +0000
(19:03 +0100)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Wed, 5 Jan 2022 18:03:30 +0000
(19:03 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/pools/cluster/fixed.ts
patch
|
blob
|
blame
|
history
diff --git
a/src/pools/cluster/fixed.ts
b/src/pools/cluster/fixed.ts
index 9844c4a8a912570c10043e4980b8bb3113aab6f1..9d162d8983a7bdce2a68b19e040392be40e83cd4 100644
(file)
--- 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'