Merge dependabot/npm_and_yarn/examples/typescript/http-server-pool/express-cluster...
[poolifier.git] / examples / typescript / http-server-pool / fastify-hybrid / @types / fastify / index.d.ts
index 70a804b14fb902dc67d8b6ebed490c89a5389144..018cac59cf6762769e0cc713b687a2463832718f 100644 (file)
@@ -1,6 +1,8 @@
 import type { TransferListItem } from 'node:worker_threads'
+
 import type * as fastify from 'fastify'
-import { type DynamicThreadPool } from 'poolifier'
+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<ThreadWorkerResponse>
   }
 }