X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Ftypescript%2Fhttp-server-pool%2Fexpress-hybrid%2Fsrc%2Fmain.ts;h=d7b6c89d1b76f45b335f357405c08f25dd6aa13c;hb=862503b9f2480d51bf3a666fc4d1d2a9b3c06b33;hp=1406248fbcc7b98891d6ec49c62f6af69528836d;hpb=3a5027122ca6401ae1d755843b20f714c61e3240;p=poolifier.git diff --git a/examples/typescript/http-server-pool/express-hybrid/src/main.ts b/examples/typescript/http-server-pool/express-hybrid/src/main.ts index 1406248f..d7b6c89d 100644 --- a/examples/typescript/http-server-pool/express-hybrid/src/main.ts +++ b/examples/typescript/http-server-pool/express-hybrid/src/main.ts @@ -40,7 +40,8 @@ const pool = new FixedClusterPool( .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