repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
build(deps): bump fastify
[poolifier.git]
/
examples
/
typescript
/
websocket-server-pool
/
ws-worker_threads
/
src
/
worker.ts
diff --git
a/examples/typescript/websocket-server-pool/ws-worker_threads/src/worker.ts
b/examples/typescript/websocket-server-pool/ws-worker_threads/src/worker.ts
index 92b9d64a7dc0af093e2cad38d08262733c965352..e31cc4fe8dbbce1dc0824181a2a415cc56e2a461 100644
(file)
--- a/
examples/typescript/websocket-server-pool/ws-worker_threads/src/worker.ts
+++ b/
examples/typescript/websocket-server-pool/ws-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
}