diff --git a/bin/www.ts b/bin/www.ts index a8b3a1f1..346ad59e 100644 --- a/bin/www.ts +++ b/bin/www.ts @@ -1,6 +1,8 @@ import '../helpers/polyfills.js' import cluster from 'node:cluster' +import type { Worker } from 'node:cluster' + import os from 'node:os' import { dirname } from 'node:path' import { fileURLToPath } from 'node:url' @@ -37,7 +39,7 @@ const clusterSettings = { cluster.setupPrimary(clusterSettings) -const activeWorkers = new Map() +const activeWorkers = new Map() for (let index = 0; index < processCount; index += 1) { const worker = cluster.fork()