build: make eslint configuration use strict type checking
[poolifier.git] / examples / typescript / http-server-pool / express-hybrid / src / main.ts
index 040fdc74fea5d88b24474672128cc5988ffcc019..e339f83a276893e360140c77c40f510950e9406c 100644 (file)
@@ -38,8 +38,7 @@ const pool = new FixedClusterPool<ClusterWorkerData, ClusterWorkerResponse>(
         .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