build: reenable eslint type checking
[poolifier.git] / examples / typescript / http-client-pool / src / main.ts
index 722de1e6dc200bbc535f1dfce8db4516d6c95d58..696671eaeb8e0e81b7b27ee1119704b289e2afd2 100644 (file)
@@ -18,9 +18,9 @@ for (const workerFunction of ['node_fetch', 'fetch', 'axios']) {
     const responses = await Promise.all(httpClientPoolPromises)
     const elapsedTime = performance.now() - now
     console.info(
-      `Received in ${elapsedTime.toFixed(2)}ms an array with ${
-        responses.length
-      } responses from ${parallelism} parallel requests made with HTTP client pool task function ${workerFunction} on ${requestUrl}:\n`,
+      `Received in ${elapsedTime.toFixed(
+        2
+      )}ms an array with ${responses.length.toString()} responses from ${parallelism.toString()} parallel requests made with HTTP client pool task function ${workerFunction} on ${requestUrl}:\n`,
       responses
     )
   } catch (error) {