X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Ftypescript%2Fhttp-server-pool%2Ffastify-hybrid%2Fsrc%2Fmain.ts;h=74ed1f70158ce7876e717ab844cd16e8e7a3b58f;hb=13de73740d2909dd6b06677f7f9b9978ff27eb2b;hp=4622324c02c97f1e141abccb7c7b464ed113508d;hpb=3a5027122ca6401ae1d755843b20f714c61e3240;p=poolifier.git diff --git a/examples/typescript/http-server-pool/fastify-hybrid/src/main.ts b/examples/typescript/http-server-pool/fastify-hybrid/src/main.ts index 4622324c..74ed1f70 100644 --- a/examples/typescript/http-server-pool/fastify-hybrid/src/main.ts +++ b/examples/typescript/http-server-pool/fastify-hybrid/src/main.ts @@ -40,7 +40,8 @@ const pool = new FixedClusterPool( .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