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