build: make eslint configuration use strict type checking
[poolifier.git] / src / pools / cluster / fixed.ts
index aa731562011507f59b84cce1f7088be68924e0b0..09dbe509262a80148e2a46756fd86c992902be49 100644 (file)
@@ -54,8 +54,7 @@ export class FixedClusterPool<
   ): void {
     this.workerNodes[workerNodeKey].worker.send({
       ...message,
-      // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
-      workerId: this.getWorkerInfo(workerNodeKey).id!
+      workerId: this.getWorkerInfo(workerNodeKey).id
     })
   }