build: reenable eslint type checking
[poolifier.git] / examples / typescript / http-server-pool / express-hybrid / src / main.ts
index 1406248fbcc7b98891d6ec49c62f6af69528836d..d7b6c89d1b76f45b335f357405c08f25dd6aa13c 100644 (file)
@@ -40,7 +40,8 @@ const pool = new FixedClusterPool<ClusterWorkerData, ClusterWorkerResponse>(
         .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