build: reenable eslint type checking
[poolifier.git] / examples / typescript / http-server-pool / express-cluster / src / main.ts
index eeb196a623a9c939a1f38bbabd157a581a5b7f5d..0b7c45b18d7a8aa73d2edb14535ab8a229e1c7a8 100644 (file)
@@ -21,7 +21,8 @@ const pool = new FixedClusterPool<WorkerData, WorkerResponse>(
         .then(response => {
           if (response.status) {
             console.info(
-              `Express is listening in cluster worker on port ${response.port}`
+              // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
+              `Express is listening in cluster worker on port ${response.port?.toString()}`
             )
           }
           return undefined