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=e1a64b1559ca4e9d8dc91ba424f08d0f08299863;hb=e1ba9765afbf97436250d19f28c818221ebc10b9;hp=38a4b0fafdffb8e0d3961bc715bb46dc1ca07c71;hpb=5daad283d56413b7287cca894637a35e51a1222c;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 38a4b0fa..e1a64b15 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,5 +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 @@ -13,6 +16,5 @@ declare module 'fastify' { name?: string, transferList?: TransferListItem[] ) => Promise - listTaskFunctions: () => string[] } }