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
/
http-server-pool
/
fastify-hybrid
/
src
/
request-handler-worker.ts
diff --git
a/examples/typescript/http-server-pool/fastify-hybrid/src/request-handler-worker.ts
b/examples/typescript/http-server-pool/fastify-hybrid/src/request-handler-worker.ts
index 8c247819488b5548f3e4fe1adbbaf106286cd3f4..ac4fb97aa0ee2e2a1e76e1d6db1521ddbde7f257 100644
(file)
--- a/
examples/typescript/http-server-pool/fastify-hybrid/src/request-handler-worker.ts
+++ b/
examples/typescript/http-server-pool/fastify-hybrid/src/request-handler-worker.ts
@@
-24,9
+24,7
@@
class RequestHandlerWorker<
factorial: (workerData?: Data) => {
return {
data: {
- number: RequestHandlerWorker.factorial(
- workerData?.data?.number as number
- )
+ number: RequestHandlerWorker.factorial(workerData!.data.number!)
}
} as unknown as Response
}