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=3ff88aa2b46b3f6048869bc95dd97d6f160c95b6;hb=36ca9ccd01144cd5d850b677e425a2f0d6e46ae5;hp=38a4b0fafdffb8e0d3961bc715bb46dc1ca07c71;hpb=ff6cf64964e78aafa95098852ec0472b567f7b1b;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..3ff88aa2 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,6 @@ +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 +14,5 @@ declare module 'fastify' { name?: string, transferList?: TransferListItem[] ) => Promise - listTaskFunctions: () => string[] } }