X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Ftypescript%2Fhttp-server-pool%2Fexpress-worker_threads%2Fsrc%2Fworker.ts;fp=examples%2Ftypescript%2Fhttp-server-pool%2Fexpress-worker_threads%2Fsrc%2Fworker.ts;h=cc46cba49259ac55035f4804205cb607d37dcdef;hb=8ebe6c308dc1fc3202980126da043b2855d24780;hp=7589aa6b6aaa9b37aa519d24c86bafc96d657b98;hpb=5b726f72d534f6d66532d9576ed6347506c515f1;p=poolifier.git diff --git a/examples/typescript/http-server-pool/express-worker_threads/src/worker.ts b/examples/typescript/http-server-pool/express-worker_threads/src/worker.ts index 7589aa6b..cc46cba4 100644 --- a/examples/typescript/http-server-pool/express-worker_threads/src/worker.ts +++ b/examples/typescript/http-server-pool/express-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 }