import type { TransferListItem } from 'node:worker_threads'
+
import type * as fastify from 'fastify'
-import { type DynamicThreadPool } from 'poolifier'
-import { type WorkerData, type WorkerResponse } from '../../src/types.ts'
+import type { DynamicThreadPool } from 'poolifier'
+
+import type { WorkerData, WorkerResponse } from '../../src/types.ts'
declare module 'fastify' {
export interface FastifyInstance extends fastify.FastifyInstance {
name?: string,
transferList?: TransferListItem[]
) => Promise<WorkerResponse>
- listTaskFunctions: () => string[]
}
}