X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Ftypescript%2Fhttp-server-pool%2Ffastify-worker_threads%2Fsrc%2Fworker.ts;h=7589aa6b6aaa9b37aa519d24c86bafc96d657b98;hb=0cfd77a6603fe47c0325998948dc5d7d0a650929;hp=cc46cba49259ac55035f4804205cb607d37dcdef;hpb=de2e7182cca6b34b000a09bf6d0ddcff4757db3a;p=poolifier.git diff --git a/examples/typescript/http-server-pool/fastify-worker_threads/src/worker.ts b/examples/typescript/http-server-pool/fastify-worker_threads/src/worker.ts index cc46cba4..7589aa6b 100644 --- a/examples/typescript/http-server-pool/fastify-worker_threads/src/worker.ts +++ b/examples/typescript/http-server-pool/fastify-worker_threads/src/worker.ts @@ -5,7 +5,7 @@ import { type WorkerResponse } from './types.js' -const factorial: (n: number) => number = (n) => { +const factorial: (n: number) => number = n => { if (n === 0) { return 1 }