Ten um hack feio que parece funcionar!
import * as _cluster from 'cluster';
const cluster = _cluster as unknown as _cluster.Cluster; // typings fix
https://stackoverflow.com/questions/69094343/node-js-clusters-cant-be-imported-in-typescript
Ten um hack feio que parece funcionar!
import * as _cluster from 'cluster';
const cluster = _cluster as unknown as _cluster.Cluster; // typings fix
https://stackoverflow.com/questions/69094343/node-js-clusters-cant-be-imported-in-typescript