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