X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Ftypescript%2Fhttp-server-pool%2Ffastify-hybrid%2F%40types%2Ffastify%2Findex.d.ts;h=018cac59cf6762769e0cc713b687a2463832718f;hb=7c78b8f8e025aee6121bf2b5d5e9d525a49bc4f2;hp=3ff88aa2b46b3f6048869bc95dd97d6f160c95b6;hpb=76a3a76becd6ac41efb3271c708431a666828c30;p=poolifier.git diff --git a/examples/typescript/http-server-pool/fastify-hybrid/@types/fastify/index.d.ts b/examples/typescript/http-server-pool/fastify-hybrid/@types/fastify/index.d.ts index 3ff88aa2..018cac59 100644 --- a/examples/typescript/http-server-pool/fastify-hybrid/@types/fastify/index.d.ts +++ b/examples/typescript/http-server-pool/fastify-hybrid/@types/fastify/index.d.ts @@ -1,6 +1,8 @@ import type { TransferListItem } from 'node:worker_threads' + import type * as fastify from 'fastify' import type { DynamicThreadPool } from 'poolifier' + import { type ThreadWorkerData, type ThreadWorkerResponse @@ -12,7 +14,7 @@ declare module 'fastify' { execute: ( data?: ThreadWorkerData, name?: string, - transferList?: TransferListItem[] + transferList?: readonly TransferListItem[] ) => Promise } }