refactor: null -> undefined where appropriate
[poolifier.git] / examples / typescript / http-server-pool / express-hybrid / src / main.ts
index 08563f4b2e753cefa3a331e9d0193be2a809f526..561aab5d2832217f50ec4304a858cc94bb72c40a 100644 (file)
@@ -41,7 +41,7 @@ const pool = new FixedClusterPool<ClusterWorkerData, ClusterWorkerResponse>(
               `Express is listening in cluster worker on port ${response?.port}`
             )
           }
-          return null
+          return undefined
         })
         .catch(error => {
           console.error('Express failed to start in cluster worker:', error)