fix: fix type definition in examples
[poolifier.git] / examples / typescript / http-server-pool / fastify-hybrid / @types / fastify / index.d.ts
index 38a4b0fafdffb8e0d3961bc715bb46dc1ca07c71..70a804b14fb902dc67d8b6ebed490c89a5389144 100644 (file)
@@ -1,3 +1,4 @@
+import type { TransferListItem } from 'node:worker_threads'
 import type * as fastify from 'fastify'
 import { type DynamicThreadPool } from 'poolifier'
 import {
@@ -13,6 +14,5 @@ declare module 'fastify' {
       name?: string,
       transferList?: TransferListItem[]
     ) => Promise<ThreadWorkerResponse>
-    listTaskFunctions: () => string[]
   }
 }